691
TI Z80 / Re: Untitled Grappling Hook Game (for now)
« on: November 25, 2011, 07:56:07 pm »
I've compiled Axe programs in Wabbit countless times o.O Are you sure you have the latest version?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 691
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 07:56:07 pm »
I've compiled Axe programs in Wabbit countless times o.O Are you sure you have the latest version?
692
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 06:33:12 pm »
You could try to implement the physics yourself, and then use the rope library as a basis for your rope code. I think this game wouldn't be the same without scrolling, as there wouldn't be really long levels.
693
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 06:28:12 pm »
Hmmm I just realize how much scrolling this game might have, and Zedd doesn't support scrolling
694
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 06:17:47 pm »
It's probably not moving because GDB0TM is pointing to somewhere that has data in it, and Zedd is treating that data as a tilemap. Since I don't think you are actually creating a tilemap, that area of memory is probably full of nonzero numbers, which Zedd thinks is solid tiles, so all your objects are stuck in solid tiles. You need to actually set up an empty tilemap for things to start working.
695
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 06:02:06 pm »
Zedd works off of a tilemap, it is the only way objects know what to collide with.
696
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 05:59:08 pm »
Oh i believe you need to define GDB0WD as the width of your tilemap in sprites
697
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 05:16:44 pm »
Ahhh I see, I thought that was your actual code Yeah it looks like the documentation goes both ways on the Callback function, just remember to name it CLZ() instead of CallZ()
698
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 05:12:49 pm »
Oh whoops, rename CallZ to CLZ instead, seems I was mixing syntax Bwt, what is the callback function for? It looks like it accelerates you left if you are on the right side of the screen, and right if you are on the left side of the screen?
699
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:53:49 pm »
What kind of errors does it give you? It's just a basic source program, so it shouldn't have anything special qualities to it
700
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:51:11 pm »
Indeed, the documentation is quite extensive. There is also a list of functions that Zedd provides in Functions.txt
701
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:46:10 pm »
Basically the same thing Nick said keep doing pixel tests at a 45 degree angle moving away from the player until you find a wall. And yes sprite information is stored in Str0SP.
To add an object into the game, simply execute AddZ(X,Y,Width,Height,Mass,Sprite #) where your sprite number is the sprite found in Str0SP. 0 would refer to the first sprite in Str0SP, 1 would refer to the second and so on. To display and simulate everything, simple run SimZ(), which will run the simulation for 1 frame, and draw all of your objects onto the screen. 702
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:23:43 pm »
You might want to cast a ray in order to determine where to atatch the hook, that way you will guarantee you will be able to attach to a roof that is varied
703
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:13:29 pm »
yes you do, that is the only way to add objects into the Zedd world (besides adding them through manual byte manip )
704
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 04:06:14 pm »
Did you read all of the documentation? There are a number of constants you have to define yourself, or else it will throw an error.
705
TI Z80 / Re: Untitled Grappling Hook Game (for now)« on: November 25, 2011, 03:21:51 pm »
I think Zedd would be an excellent choice for this game As it would give you access to the rope physics library, which I think would make this awesome
|
|