Author Topic: Graviter  (Read 165927 times)

0 Members and 2 Guests are viewing this topic.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Graviter - Axe
« Reply #165 on: February 21, 2011, 01:20:59 am »
Instead of level-scrolling, maybe you could have a "campaign mode" with lots of rooms instead (and have items in some rooms unlock doors in other rooms, etc.)
Wow, I can imagine this turning into an RPG :o
« Last Edit: February 21, 2011, 01:22:03 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline leafy

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Graviter - Axe
« Reply #166 on: February 21, 2011, 02:16:29 am »
Fuuuuu Doors CS7 ramcleared my physics engine and set me back a week. No more one-way block, jumping, or even/128 (old version was /64)
In-progress: Graviter (...)

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Graviter - Axe
« Reply #167 on: February 21, 2011, 02:21:38 am »
Ouch x.x
Though, I guess since you've already done it once, it'll be easier to code it the second time :)
Vy'o'us pleorsdti thl'e gjaemue

Offline leafy

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Graviter - Axe
« Reply #168 on: February 21, 2011, 07:50:40 pm »
Bloody hell this is harder than I expected. I might be able to get it back to its previous state soon, but I'm not counting on it.
In-progress: Graviter (...)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Graviter - Axe
« Reply #169 on: February 21, 2011, 09:38:19 pm »
Yea, data loss always sucks. :/ Try to make backups fairly often!

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: Graviter - Axe
« Reply #170 on: February 21, 2011, 09:40:42 pm »
Sorry, dude.  I hope it's better tis time (as opposed to worse). :)  Good luck! ;D

Offline leafy

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Graviter - Axe
« Reply #171 on: February 22, 2011, 12:40:10 am »
Okay! Finally. Got everything except for one-way blocks back, and one-way blocks took me like 5 minutes to code.
Anyways, my memory is terrible. I swear, I had to take a significant amount of time remembering what the heck my code meant.

EDIT: I forgot how I did air resistance. hmmm...
« Last Edit: February 22, 2011, 01:45:19 am by leafiness0 »
In-progress: Graviter (...)

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: Graviter - Axe
« Reply #172 on: February 23, 2011, 12:05:53 am »
Sorry to hear about the data loss. However, if your program works fine in Mirage/Ion but not DCS, you might want to ask Quigibo then if it's not an Axe issue, ask Kerm on Cemetech,.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Graviter - Axe
« Reply #173 on: February 23, 2011, 01:18:29 am »
Ouch D: Well im glad everything has gotten rewritten back to where it was, hope you can get friction working again :D (I use A>>0-(A<<0)+A->A ;) ) Have you thought of any gameplay element to replace lasers?

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Graviter - Axe
« Reply #174 on: February 23, 2011, 03:03:38 pm »
Maybe just do the lazer rutine every other frame?

Edit: How do you deal with never ending lazers?  Do you have it only trave a certain number of pxl's?
« Last Edit: February 23, 2011, 03:04:23 pm by Happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Graviter - Axe
« Reply #175 on: February 23, 2011, 03:17:23 pm »
Btw, /256 is much, much faster than /128 :P
Also, good to hear you got most of it back so far

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Graviter - Axe
« Reply #176 on: February 23, 2011, 06:33:02 pm »
Maybe just do the lazer rutine every other frame?

Edit: How do you deal with never ending lazers?  Do you have it only trave a certain number of pxl's?

Maybe you have to press a button to fire the lazer?  Or stand on a button ingame?  That way it wouldn't be firing all the time, and could even add in more puzzling -ness to the game :D

As for never ending lasers... how would those even be created without some sort of portal system?

EDIT: Portal with lasers O.O
« Last Edit: February 23, 2011, 06:33:26 pm by Builderboy »

Offline leafy

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Graviter - Axe
« Reply #177 on: February 23, 2011, 07:28:58 pm »
Yeah, I think I could make it so that if you press a button the laser fires once. That would be much faster than redrawing it every frame.
Graviter is now back to its previous state. Is /256 really that much faster than /128? maybe I should try :) Good thing I did that D2 routine that BuilderBoy showed me so I can change them all at once now :D I'd have to change velocity calculations so things go twice as fast, though, which could be a pain.

The way I did lasers was they just keep going until they hit a wall. There's no limit.

Also, somebody help me think of a cool transition effect from one level to the next.

Also, Portal X would be freaking awesome with lasers.

EDIT: I've also made the very judicious decision not to make scrolling tilemaps because a) it'd be too slow and b) the buttons wouldn't work anymore. At least, not in the way I'm using them right now.

EDIT2: I've finally started work on level design and in-game dialogue.
« Last Edit: February 23, 2011, 07:37:44 pm by leafiness0 »
In-progress: Graviter (...)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Graviter - Axe
« Reply #178 on: February 23, 2011, 07:37:38 pm »
/256 is 40% the speed of /128

Offline leafy

  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Graviter - Axe
« Reply #179 on: February 23, 2011, 07:38:11 pm »
o.O that much? I'll make sure to try this when I have time. Is DispGraphr still faster even if you have pixels on the back buffer?
« Last Edit: February 23, 2011, 07:40:36 pm by leafiness0 »
In-progress: Graviter (...)