Author Topic: Blaster Master!  (Read 45492 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Blaster Master!
« Reply #30 on: February 15, 2011, 03:44:16 pm »
I can imagine that might cause some unsightly issues if you move your ship up into the data that represents your bullets :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Blaster Master!
« Reply #31 on: February 15, 2011, 03:56:04 pm »
Oh wow I just noticed that too. X.x Avoid using L3 and L6 if you use them for the screen. :P

I remember MLC language used the buffer to load programs and it caused tons of garbage to appear at the top of the screen. I think Ndless 1.7 or higher do that too.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #32 on: February 15, 2011, 08:11:37 pm »
it was indeed for debugging purposes :P

another minor update: the tank can now fire one bullet at a time and destroy a target that is randomly inserted into the map. once i implement multiple bullets i'll be sure to stick another screeni/demo up here.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Blaster Master!
« Reply #33 on: February 15, 2011, 09:36:40 pm »
Sounds awesome :D Good luck getting multiple objects to work :) Do you have enemies and bullets in separate lists?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #34 on: February 15, 2011, 10:44:38 pm »
yep.
right now i'm just planning on making all the enemies move first and then making all the bullets move afterwards, running each bullet's modified (x,y) positions through the enemy list to determine if there is a hit or not. this is definitely slow, but i can't think of a better way to manage it (and as long as both lists stay within a range of 3-5 at a time i think it should be fine).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Blaster Master!
« Reply #35 on: February 16, 2011, 02:57:23 am »
On an unrelated note, I wonder if maps would look nice with a black background, like on the NES?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #36 on: February 16, 2011, 09:57:00 pm »
i was actually planning on including them(which is why the tank is a masked sprite instead of just OR'd). my friend who is better at graphics hasn't gotten around to making any, though, and i've been busy writing code. =/

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Blaster Master!
« Reply #37 on: February 18, 2011, 10:16:16 pm »
Ah ok. One thing with a black background, however, is that you might need to edit some sprites that will be hard to see on it. It would just look closer to the NES.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #38 on: February 27, 2011, 05:02:11 pm »
ok, i haven't really done much as far as improving this yet, as i've been really busy with school stuff, but the previous download showing the rockets was lost, so i'm uploading the current version (which has buggy and very unoptimised pseudo shooting implemented). at present, it only fires one bullet at a time =/

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Blaster Master!
« Reply #39 on: February 28, 2011, 01:25:16 am »
Its looking amazing! :D the concept alone makes it look and feel so awesome ^^ Can't wait for more progress! :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Blaster Master!
« Reply #40 on: February 28, 2011, 10:28:02 pm »
Sorry to hear about the data loss and the bugs. It looks very nice, though.

However, I would suggest using DispGraph only every 2 frame, because if it runs this fast on-calc, the blurriness is gonna make it hard to see anything, especially on the TI-Nspire.

EDIT: Actually nevemnind, it seems you used a very blurry WabbitEmu LCD setting. X.x I tried in Wabbitemu and it seemed rather fine.
« Last Edit: February 28, 2011, 10:33:14 pm by DJ_O »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Blaster Master!
« Reply #41 on: March 01, 2011, 05:51:57 pm »
Looks great!  Good luck with more progress. :)

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #42 on: July 29, 2011, 10:31:05 pm »
so on the car ride back from south dakota to arizona i realised that the issues i thought i was going to have with variable length lists for bullets and enemies could be avoided by using a different method. before, when an entry was removed from the list, i was trying to copy all the bytes from that spot to the end of the list back one entry and then decrement the variable which held the list's number of entries. however, i realised that, because the order in which entries are displayed doesn't matter, i could instead just copy the last entry in the list over the one to be removed (or just do nothing if the one to be removed is the last entry) and then decrement the length variable.

armed with this new realisation, i booted up axe 1.0 on the car ride back from south dakota and did my best to implement it. i kept getting weird things, like items disappearing or being swapped with the wrong entries, and it's making me think that i've been away from axe for too long and am doing something supremely stupid. :P

could someone help me out with demo code?
what i would need is something that can add or subtract entries (adding at the end of the list and subtracting from any arbitrary position within it) from a variable length list that consists of 3 byte wide entries.
i promise i wont ask for someone to write the whole program for me :P this one bit of code has just had me frustrated for months (and i have no idea why because, in concept, it seems so simple...)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Blaster Master!
« Reply #43 on: July 30, 2011, 12:19:42 am »
However, i realised that, because the order in which entries are displayed doesn't matter, i could instead just copy the last entry in the list over the one to be removed (or just do nothing if the one to be removed is the last entry) and then decrement the length variable.

You just solved one of the main problems I had with Powder.
* Qwerty.55 facepalms
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Blaster Master!
« Reply #44 on: July 30, 2011, 12:27:31 am »
doing it that way with powder would have had an affect because the items in the list are interacting with one another, so if one moves before another they will end up in different positions than they would have if the second had moved first.