Author Topic: My new NXT game, about a jumping square (need help!)  (Read 22969 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My new NXT game, about a jumping square (need help!)
« Reply #45 on: March 31, 2012, 02:39:29 pm »
There's NXT emulation now? O.O

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #46 on: March 31, 2012, 02:41:15 pm »
No... I wish. :'(
It's just a utility that shows the NXT's screen on the computer.
I would show my game with that, but it makes my game look REALLY junky.

Any more ideas? I like the ones so far.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My new NXT game, about a jumping square (need help!)
« Reply #47 on: March 31, 2012, 02:44:38 pm »
Oh ok you got screen capture. I didn't realize it existed for the NXT device too. I guess it's better than nothing, though. If you could have higher framerate, the AVI could possibly be edited inside VirtualDub with a motion blur effect, to look closer to the real thing.

I unfortunately do not have much idea right now, though

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #48 on: March 31, 2012, 02:46:25 pm »
Oh ok you got screen capture. I didn't realize it existed for the NXT device too. I guess it's better than nothing, though. If you could have higher framerate, the AVI could possibly be edited inside VirtualDub with a motion blur effect, to look closer to the real thing.
Yeah. Well the thing that stinks is that the screen capture program doesn't respond to changing the display flags, so it shows stuff that is not seen on the actual NXT.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: My new NXT game, about a jumping square (need help!)
« Reply #49 on: March 31, 2012, 02:47:18 pm »
Yes O.O I just had a brilliantly cool idea O.O Maybe you could have floor tiles that have negative gravity o.o It would look like you were buoyant because your piece would look like it were levitating in air. Here is what you would do:

Make, say, an 8x8 region where the gravity is flipped. When you walk on it, your velocity is zero, so you will gradually float up and then possibly fly out of it into the area where gravity is normal. At this point, you would fall back down into the negative gravity and slowly come to equilibrium :D

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #50 on: March 31, 2012, 02:52:27 pm »
I'm not sure I understand.

So like this?:

The player touches a floor tile. He starts "falling" up. Then the player goes into an area where gravity is normal, so it falls back down. Then it goes back into the negative area, and goes back up again. Then it repeats. It would look like the player is moving up and down repeatedly.

Is that right?

Also, any other ideas?

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: My new NXT game, about a jumping square (need help!)
« Reply #51 on: March 31, 2012, 02:53:32 pm »
Yes, that is right :) Also, you can make a dampening effect, again, too, by removing velocity or dividing by a constant again, so it eventually stands still.

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #52 on: March 31, 2012, 02:54:44 pm »
Then that would basically look like it is in water. :P

That would be a cool effect. :D

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: My new NXT game, about a jumping square (need help!)
« Reply #53 on: March 31, 2012, 02:58:15 pm »
exactly :D And like you said on IRC, in this case, it might be okay to include the region in the source itself as opposed to in a separate pic file :) Plus, you can always use it for an idea in a future game :D

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #54 on: March 31, 2012, 02:59:50 pm »
Yeah. So maybe you could explain a little how I would store the regions?

Like I would have them as objects, and a for-loop would go through and check each one to see if the player is inside it? But then, the more regions, the slower. :P

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: My new NXT game, about a jumping square (need help!)
« Reply #55 on: March 31, 2012, 03:03:19 pm »
yeah, that is the best way I can think to do it, though, so maybe keep it to zero, one or two regions per level? Plus, you can make them as big or small as you want and you could even make it a tool for the user and they have only one. When you throw it, it deletes the old one and creates a new one in a different spot :)

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #56 on: March 31, 2012, 03:08:04 pm »
yeah, I could do that.
So any more ideas (or maybe some levels...)?

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #57 on: April 02, 2012, 06:08:38 pm »
So now that I have some bugs fixed, any more ideas?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My new NXT game, about a jumping square (need help!)
« Reply #58 on: April 02, 2012, 07:48:24 pm »
I do not have any currently, but something I would like to suggest is if you ever have smooth scrolling, you might want to be careful with grayscale, because if the NXT screen is similar to the 83+, smooth scrolling grayscale will look like garbage. Usually people use frame skipping so it doesn't go higher than 6-12 FPS or they just get rid of grayscale althogether.

Offline nxtboy III

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 795
  • Rating: +26/-1
  • NXT!
    • View Profile
    • Program NXT
Re: My new NXT game, about a jumping square (need help!)
« Reply #59 on: April 02, 2012, 10:26:55 pm »
smooth scrolling? As in a platformer?