Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Builderboy on May 17, 2011, 02:51:48 am

Title: My explosive contest entry
Post by: Builderboy on May 17, 2011, 02:51:48 am
So I have already started work on my contest entry, which is as of now still unnamed, but progress on the engine goes rather rapidly.  I've already implemented full rigid body physics onto my 4x4 tilemap, and I have also implemented springs, although they are not present in the screenshot.  You will also notice the screenshot is rather explosive >:D

The premise of my game is a puzzle platformer where you are a quite small little person using comically large guns and explosive devices to progress through each level and eventually complete an objective or something.  Right now i'm just focusing on getting the engine working, but so far everything is looking great :) I'll post progress as it comes ^^

The screenie below isn't really a puzzle, as its pretty simple :P But it has the basis for becoming a puzzle and right now is just a testing area for testing the various aspects of the game engine.
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on May 17, 2011, 02:54:01 am
Woah O.O

That looks super great, and the explosion effect is really there with the screen shaking and stuff.
/me wonders how it will be if the entire screen is filled with those O.O
Title: Re: My explosive contest entry
Post by: z80man on May 17, 2011, 02:55:42 am
 O.O amazing animations there!

I see that I chose wisely when I decided not to join this contest. If you can do that in 1 day then I can't imagine what will happen in 2 months.

/me hopes that BuilderBoy doesn't buy a Prizm until September 16th

Title: Re: My explosive contest entry
Post by: DJ Omnimaga on May 17, 2011, 03:02:16 am
Lol I still think people should participate. After all a big portion of the results is based on the survey, and people will probably vote for their favorite puzzle/platformer based on their own preferences.
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 03:03:49 am
Definitely, everybody has a chance in this, and you can never tell what the results are going to be ^^
Title: Re: My explosive contest entry
Post by: leafy on May 17, 2011, 03:15:48 am
I lost already xD
Title: Re: My explosive contest entry
Post by: z80man on May 17, 2011, 03:24:40 am
I lost already xD
Ah don't count yourself out yet. You're one of the best platformers here right now. If anything this will be a heavily heated competition till the end.
Title: Re: My explosive contest entry
Post by: aeTIos on May 17, 2011, 04:39:02 am
THis looks awesome. I am working on a clone of Mario's Cement Factory (Nintendo 1983, Game&Watch series)
Title: Re: My explosive contest entry
Post by: Raylin on May 17, 2011, 10:53:51 am
Suddenly, Raylin was a sad Raylin.
Happy for Builderboy, though.
Title: Re: My explosive contest entry
Post by: turiqwalrus on May 17, 2011, 10:55:40 am
now my entry will have to be insanely awesome to compete with this D:/me hides in a corner, feverishly muttering 'must make 3D engine...' :P
Title: Re: My explosive contest entry
Post by: BrownyTCat on May 17, 2011, 02:30:39 pm
/me is hopeless now.
Title: Re: My explosive contest entry
Post by: squidgetx on May 17, 2011, 03:20:03 pm
Looks nice, Builderboy. A worthy opponent....
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 03:42:35 pm
Hah thanks guys :] And don't be so hard on yourselves!  Everybody always has a chance, don't rule yourselves out! ^^
Title: Re: My explosive contest entry
Post by: SirCmpwn on May 17, 2011, 03:45:53 pm
Looking awesome!  I'll be getting started on my own entry soon, so beware :P
Title: Re: My explosive contest entry
Post by: yunhua98 on May 17, 2011, 04:35:55 pm
O.O

unbelievable.  I'm still in though, since this will be fun whether I win or not.  ;)
And I'm making a puzzle game.  :D  With a custom level designer.  ;D
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 09:29:45 pm
So I have replaced springs with ropes, and I must say I really like the way it turned out :D I actually used a lot of ideas that I learned while writing chainfire, and it amazed me actually how similar they were.  It was also really cool to see how seamlessly I am able to integrate different physics objects and constraints into my engine ^^ it automatically adjusts for any force based system!
Title: Re: My explosive contest entry
Post by: Geekboy1011 on May 17, 2011, 09:36:04 pm
Ok this just looks amazing....the giant gun scares me though :P looks more like a mortar xD
Title: Re: My explosive contest entry
Post by: Jonius7 on May 17, 2011, 09:37:32 pm
Wow lots of developments so soon after the contest announcement. Well done!
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 09:50:27 pm
I love the big gun lol XD that was part of the original idea, how cartoony the physics and people were.  Like how the character pulls his gun from nowhere XD
Title: Re: My explosive contest entry
Post by: leafy on May 17, 2011, 10:04:13 pm
What is this I don't even
I should really give up xD
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 10:30:53 pm
Nooooo don't give up :(
Title: Re: My explosive contest entry
Post by: Darl181 on May 17, 2011, 10:34:26 pm
Heh, we're hosed...
Imma still keep trying start, and then go down in flames having tried my best I suppose. :P

Awesome screenie tho, what's the program called?  And what are you supposed to do?
Title: Re: My explosive contest entry
Post by: ralphdspam on May 17, 2011, 10:35:11 pm
Wow.  There's already too much competition...

Looks great, builderboy! :)
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 10:36:12 pm
I don't know what I'm going to call it yet Darl, but I'm sure it won't be too hard ^^
Title: Re: My explosive contest entry
Post by: Darl181 on May 17, 2011, 10:39:17 pm
Reminds me of tarzan at that one part where the character jumps on top of the swinging thing, but he just falls right off and that doesn't explain the explosives...
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 10:43:13 pm
yeah, the box doesn't have the most traction so staying on a swinging platform is pretty hard, the explosives are the best part tho :D
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on May 17, 2011, 11:00:13 pm
THis is cool O.O

One thing, though: Shouldn't you be dying, exploding into pieces when blowing up stuff so close? ???
Title: Re: My explosive contest entry
Post by: ztrumpet on May 17, 2011, 11:00:41 pm
That's ridiculous.  I hope it fleshes out into an amazing game.  Best of luck to you! ;D
Title: Re: My explosive contest entry
Post by: Builderboy on May 17, 2011, 11:23:17 pm
One thing, though: Shouldn't you be dying, exploding into pieces when blowing up stuff so close? ???

Nope, you are invulnerable to explosions :) Probably has something to do with your ability to pull large weapons 4 times your size out of thin air. :P
Title: Re: My explosive contest entry
Post by: lookitsan00b on May 18, 2011, 12:19:46 am
*gives up on previous idea and starts looking at the possibilities of porting minecraft, wonders if it qualifies as a platformer and whether ports are legal

/jk

wow this is awesome. :o
gonna be hard to beat but maybe possible...........
Title: Re: My explosive contest entry
Post by: Freyaday on May 18, 2011, 12:29:21 am
Y'know, I wish I could enter xy into this, but I started it too early.
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on May 18, 2011, 01:16:02 am
Yeah sorry about that, although it's possible to use code from existing projects.
Title: Re: My explosive contest entry
Post by: Stefan Bauwens on May 18, 2011, 04:45:42 am
This looks great. Good luck with this!
Title: Re: My explosive contest entry
Post by: z80man on May 18, 2011, 04:51:55 am
What I find really cool is how fast the animations are and also how amazing they look to begin with. Good luck with this and I can't wait till I can play it
Title: Re: My explosive contest entry
Post by: TIfanx1999 on May 18, 2011, 08:13:26 am
Wow BB! Very inspiring! It looks very nice even at this early of a stage. ^^
Title: Re: My explosive contest entry
Post by: Deep Toaster on May 18, 2011, 09:32:11 am
Well, there goes the contest XD

That looks brilliant. Too brilliant. Physics are epic.

And I love the big gun! I can almost hear the blast from here o.O
Title: Re: My explosive contest entry
Post by: Compynerd255 on May 18, 2011, 10:33:40 am
Okay, now that is cool. I especially love the explosions, and the big gun.

If you could add smoke, then that would be EPIC.
Title: Re: My explosive contest entry
Post by: Yeong on May 18, 2011, 11:18:48 am
that looks EPIC! O_o
However, I would not be discouraged XD
*Yeong is intimidated instead
Title: Re: My explosive contest entry
Post by: Munchor on May 18, 2011, 12:13:14 pm
This is not intimidating me at all. :D I have to keep my confidence up.
/me forces to keep it up.
Title: Re: My explosive contest entry
Post by: leafy on May 18, 2011, 02:50:30 pm
/me forces to keep it up.

That's what she said.
Title: Re: My explosive contest entry
Post by: Munchor on May 18, 2011, 02:51:16 pm
/me forces to keep it up.

That's what she said.

I should'a really edit that post O.O
Title: Re: My explosive contest entry
Post by: yunhua98 on May 18, 2011, 02:52:12 pm
O.O  Looking better and better.
Title: Re: My explosive contest entry
Post by: leafy on May 18, 2011, 02:54:45 pm
/me forces to keep it up.

That's what she said.

I should'a really edit that post O.O

Especially when the thread title has explosive in it.
Okay, okay, i'll stop.
Title: Re: My explosive contest entry
Post by: Ashbad on May 18, 2011, 02:58:59 pm
lol immaturity ftw ;D

looks good builderboy! :D You would never guess that I had an idea for using ropes too :P

I'm not gonna use them now, but if you want to hear what my approach was, it was to 'segment' the ropes so that they can curve realistically while staying the same length.  Turned out to be a huge memory eater (code-wise, nearing 2K with only small interactions) but it was cool -- are you planning to evolve yours into something like that?
Title: Re: My explosive contest entry
Post by: yunhua98 on May 18, 2011, 03:02:50 pm
Is it not already like that?

also, I love how half this thread is people saying they are going to lose and Builderboy telling them not to give up.  XD
Title: Re: My explosive contest entry
Post by: Ashbad on May 18, 2011, 03:03:55 pm
no yunhua, his is only one segment ;)
Title: Re: My explosive contest entry
Post by: Builderboy on May 18, 2011, 06:13:11 pm
Yeah its only one segment, and I plan to keep it that way for memory and speed reasons.  Unlike your physics engine Ashbad, I am actually calculating each collision between each object, and so I have N^2 collisions (well, not quite since its a bit more complicated and when objects are stationary they go into "sleeping mode" where they no longer look for collisions) but it's still a large speed hog, and so I decided to just stick to single segmented rope.  I may, however, upgrade the graphics of the rope when it is not taught such that it looks like it is slack, but I'll have to run some more tests.

The physics engine is based off of my experience with Zedd, and so its completely receptive to force based changes.  Meaning I can have the physics engine running by itself and solving for all the movements of all the objects, and then I can randomly attach a rope to an object without telling the physics engine, and as long as I keep updating the rope on my end, the physics engine does the same ^^
Title: Re: My explosive contest entry
Post by: Ashbad on May 18, 2011, 06:15:44 pm
either way, sounds awesome -- mine will most likely be slow as hell at first anyways ^-^ good luck!  Let's see if I can catch up to you tonight >:D
Title: Re: My explosive contest entry
Post by: Michael_Lee on May 18, 2011, 06:41:50 pm
Right, note to self: don't try and compete physics-wise.

This is going to be a tough contest to win.
Title: Re: My explosive contest entry
Post by: Deep Toaster on May 18, 2011, 06:43:30 pm
Unrelated: How do you know physics so well? O.O
Title: Re: My explosive contest entry
Post by: ruler501 on May 18, 2011, 06:46:13 pm
My guess. Too much time sitting around in class with nothing to do and/or real interest in it so lots of research.
or he's a robot/computer program
Title: Re: My explosive contest entry
Post by: Deep Toaster on May 18, 2011, 06:49:12 pm
Spoiler For Long:
(http://imgs.xkcd.com/comics/a_bunch_of_rocks.png) (http://xkcd.com/505/)

Well, it's possible.
Title: Re: My explosive contest entry
Post by: ruler501 on May 18, 2011, 06:51:24 pm
Maybe the person with the rocks running the universe told him how the universe works.
Title: Re: My explosive contest entry
Post by: Builderboy on May 18, 2011, 07:12:45 pm
I know physics really well because I have taken 3 advanced physics classes, as well as many advanced mathematics classes, and because I have taken calculus based physics ^-^
Title: Re: My explosive contest entry
Post by: leafy on May 18, 2011, 07:14:36 pm
He knows physics because he is Gordon Freeman.
Title: Re: My explosive contest entry
Post by: ruler501 on May 18, 2011, 07:40:00 pm
Do you mean Morgan Freeman?

He seems more like Feynman to me
Title: Re: My explosive contest entry
Post by: SirCmpwn on May 18, 2011, 07:40:22 pm
Looking great!  I most definitely approve, though I'm not as intimidated as everyone else - I started on my entry today, and it kicks ass.
Title: Re: My explosive contest entry
Post by: BrownyTCat on May 18, 2011, 07:48:11 pm
Do you mean Morgan Freeman?

He seems more like Feynman to me
No. Gordon Freeman.
Title: Re: My explosive contest entry
Post by: ruler501 on May 18, 2011, 07:51:12 pm
Who is Gordon Freeman?
Title: Re: My explosive contest entry
Post by: BrownyTCat on May 18, 2011, 07:55:26 pm
Who is Gordon Freeman?
Off topic a little, but this is him:
Spoiler For Gordon Freeman:
(http://thegamedoctor.webs.com/photos/Half-Life-2-Images/gordon_freeman_big.gif)
Title: Re: My explosive contest entry
Post by: Freyaday on May 18, 2011, 08:33:11 pm
So, does this mean pullys? What about block-and-tackles?
Title: Re: My explosive contest entry
Post by: ztrumpet on May 18, 2011, 08:56:53 pm
So, does this mean pullys?
Please!
* ZTrumpet begs and pleads with Builderboy to do it.
Title: Re: My explosive contest entry
Post by: Builderboy on May 18, 2011, 10:12:42 pm
Hmmmmm definitely not blocks and tackles, but pulleys might be a possibility, I will have to run some tests

EDIT: Early tests show probably not D: because the lengths of the rope are now varying at random and unspecific lengths, I am forced to do 2 square roots, which isn't good speed wise.  What is more is that the physics is really unstable and It can break itself pretty easily D:
Title: Re: My explosive contest entry
Post by: leafy on May 18, 2011, 10:33:56 pm
NO DON"T GIVE HIM MORE IDEAS
Title: Re: My explosive contest entry
Post by: ralphdspam on May 18, 2011, 10:42:50 pm
Pulleys would be really nice. :)

NO DON"T GIVE HIM MORE IDEAS
I know.  Giving him good ideas is like standing on a street corner handing out $100 bills.  :P

Title: Re: My explosive contest entry
Post by: ztrumpet on May 18, 2011, 10:43:19 pm
NO DON"T GIVE HIM MORE IDEAS
lol :P
I still don't know what I'm going to make...

Edit: Quick!  Give him even more ideas so it becomes too large to be finished in the time provided. ;D
Title: Re: My explosive contest entry
Post by: Freyaday on May 18, 2011, 10:44:44 pm
Screw realism, make it your own world! That's what I did with xy. :P
Title: Re: My explosive contest entry
Post by: ztrumpet on May 18, 2011, 10:50:10 pm
Builderboy, a question, if I may:  What button(s) do you control the gun with?
Title: Re: My explosive contest entry
Post by: Builderboy on May 18, 2011, 11:36:37 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

For the gun aiming, I am still working on it, but you use the arrow keys.  How it works is you press 2nd to bring up the gun, aim with the arrow keys, and upon releasing the 2nd key you fire.  This can be a bit weird tho... but i don't want the gun to be out all the time so im not sure.  Maybe press alpha to go into shoot mode, and press 2nd to shoot
Title: Re: My explosive contest entry
Post by: BrownyTCat on May 19, 2011, 10:36:40 am
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

For the gun aiming, I am still working on it, but you use the arrow keys.  How it works is you press 2nd to bring up the gun, aim with the arrow keys, and upon releasing the 2nd key you fire.  This can be a bit weird tho... but i don't want the gun to be out all the time so im not sure.  Maybe press alpha to go into shoot mode, and press 2nd to shoot
/me now has no hope for the physics part. At all.
Title: Re: My explosive contest entry
Post by: Michael_Lee on May 19, 2011, 12:36:09 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

Post screenshot? For public amusement?
Title: Re: My explosive contest entry
Post by: Munchor on May 19, 2011, 12:37:37 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

Post screenshot? For public amusement?

Seconded.
Title: Re: My explosive contest entry
Post by: BrownyTCat on May 19, 2011, 12:48:32 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

Post screenshot? For public amusement?

Seconded.

"Third-ed".
Title: Re: My explosive contest entry
Post by: ruler501 on May 19, 2011, 01:19:19 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

Post screenshot? For public amusement?

Seconded.

"Third-ed".

fourth-ed
Title: Re: My explosive contest entry
Post by: aeTIos on May 19, 2011, 04:10:41 pm
Lol guys don't worry, pulleys are not working :P I tried to get them to work but they build up a kind of resonance between the two systems and fail catastrophically.

Post screenshot? For public amusement?

Seconded.

"Third-ed".

fourth-ed
fifthed. Also, again, this is gonna win the contest!
Title: Re: My explosive contest entry
Post by: Builderboy on May 19, 2011, 04:16:41 pm
Lol well I'd have to make it again, since I deleted it :P And everybody needs to have faith in their own projects! :P
Title: Re: My explosive contest entry
Post by: aeTIos on May 19, 2011, 04:18:17 pm
What? The screenie or the program?
Title: Re: My explosive contest entry
Post by: Builderboy on May 19, 2011, 04:19:14 pm
I deleted the test program I made to see if pulleys were going to work
Title: Re: My explosive contest entry
Post by: aeTIos on May 20, 2011, 02:49:31 am
Oh. If it is much work to create it, I dont care if you don't post it.
Title: Re: My explosive contest entry
Post by: Builderboy on May 20, 2011, 03:04:00 am
Here is some eye candy for compensation, although the controls are being modified right now so It was a bit hard to control, and this is only a puzzle in beta so I actually am not able to solve it :P

EDIT: It also seems that Axe's flip along the vertical axis messes up sometimes... or maybe my codes weird hmmm... ill have to look into it more
Title: Re: My explosive contest entry
Post by: aeTIos on May 20, 2011, 03:07:11 am
Builderboy: Indeed, flipping sometimes messes up.
Title: Re: My explosive contest entry
Post by: Darl181 on May 20, 2011, 03:09:11 am
I can tell I am going to enjoy this game, if not just for the explosions :P
And yeah, I've run into some instabilities with the flipping stuff in the past, it keeps getting broken XD
Title: Re: My explosive contest entry
Post by: Deep Toaster on May 20, 2011, 09:46:38 am
For the gun aiming, I am still working on it, but you use the arrow keys.  How it works is you press 2nd to bring up the gun, aim with the arrow keys, and upon releasing the 2nd key you fire.  This can be a bit weird tho... but i don't want the gun to be out all the time so im not sure.  Maybe press alpha to go into shoot mode, and press 2nd to shoot

The way you have it now actually sounds better. It's simpler to use and doesn't involve two buttons just for one gun.
Title: Re: My explosive contest entry
Post by: Freyaday on May 20, 2011, 09:59:56 am
Yeah, don't be running out of buttons like I did with xy
Title: Re: My explosive contest entry
Post by: Builderboy on May 20, 2011, 10:07:02 am
I actually think I'm going to switch to using the numpad, although I will still run some tests.  The main problem with my current setup, if you have say Up pressed and 2nd pressed, reflexes tend to make people release 2nd and Up at the same time, which sometimes messes up the shots :/
Title: Re: My explosive contest entry
Post by: SirCmpwn on May 20, 2011, 10:15:45 am
I've noticed the same flipping issues.  I just decided to use preflipped sprites.
Title: Re: My explosive contest entry
Post by: Builderboy on May 20, 2011, 10:24:17 am
That would require on the order of 12 or more new sprites for me though  :/ Because it will use the same code for all of the weapons. Bleh
Title: Re: My explosive contest entry
Post by: Runer112 on May 20, 2011, 11:27:53 am
Thanks for mentioning the horizontal flipping issue. I've found the problem and will make a bug report post about it immediately.
Title: Re: My explosive contest entry
Post by: Munchor on May 20, 2011, 11:55:36 am
(http://www.omnimaga.org/index.php?action=dlattach;topic=8450.0;attach=7846;image)

Epic.
Title: Re: My explosive contest entry
Post by: yunhua98 on May 20, 2011, 04:04:12 pm
(http://www.omnimaga.org/index.php?action=dlattach;topic=8450.0;attach=7846;image)

Epic.
^This
Title: Re: My explosive contest entry
Post by: ztrumpet on May 20, 2011, 06:26:28 pm
Wow.
I'm impressed.  This is truly astounding and a really, really cool game.  It's going to be fun. ;D
Title: Re: My explosive contest entry
Post by: Darl181 on May 20, 2011, 07:46:57 pm
What would make it somewhat better--maybe you could have the player sprite thing be propelled around by the explosions.  For example, if you're standing on top of one and shoot down, you're catapulted into the air.

Also, are chain reactions in.  That can get interesting...

EDIT: is a level editor planned?
Title: Re: My explosive contest entry
Post by: Builderboy on May 20, 2011, 08:48:54 pm
The player is already propelled by explosions :P Everything is in the same physics engine, so a force from an explosion will affect all objects.  Chain reactions are also implemented, which is why the barrel explodes after the other barrel explodes it into the air.  The first explosion ignites (pending flame animation :P) and explodes later.

A level editor is a possibility but may not be released for the contest
Title: Re: My explosive contest entry
Post by: Deep Toaster on May 21, 2011, 12:09:08 pm
The first explosion ignites (pending flame animation :P) and explodes later.

I can't imagine how it could look more awesome, but ... wow O.O
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on June 07, 2011, 10:50:20 pm
Hmm chain reactions? O.O

Also I hope you're still working on this lol.
Title: Re: My explosive contest entry
Post by: Stefan Bauwens on June 13, 2011, 01:09:13 pm
Yes, you better :P Because with my Ti-83+ that I ordered, I will want to play it. :)
Title: Re: My explosive contest entry
Post by: Freyaday on June 13, 2011, 03:14:42 pm
How are you making your levels? I'm using the level editor I made.
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on June 21, 2011, 03:55:17 pm
I think he might use the editor he made for Portal X, but I could be wrong.

On a side note I really hope it's not dead. There were no updates since May 20th :'(
Title: Re: My explosive contest entry
Post by: yrinfish on June 21, 2011, 04:07:28 pm
You have a vote O.O WOW I WANT THAT

What about 'grenades', so you can change the direction something is flying to.
Title: Re: My explosive contest entry
Post by: aeTIos on June 23, 2011, 10:30:57 am
Hm BBoy, did you abandon this?I hope so, then we have some chances againSince you didnt do updates for a month.
Title: Re: My explosive contest entry
Post by: Darl181 on July 02, 2011, 07:04:36 pm
...and another project seems to be dead..:(
Title: Re: My explosive contest entry
Post by: ZippyDee on July 02, 2011, 07:22:31 pm
D: NOOO!! This was looking so good!!
Title: Re: My explosive contest entry
Post by: Freyaday on July 02, 2011, 07:53:33 pm
Zippy, you're back! I missed you!/me hugs ZippyDee
Also, on the subject of the topic, I hope this isn't dead. I was looking forward to playing this one.
Title: Re: My explosive contest entry
Post by: fb39ca4 on July 02, 2011, 11:31:00 pm
I hope so too./me crosses fingers
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on July 03, 2011, 02:11:42 am
Yeah I'm afraid this is dead, unless he resumes it as a non-contest program later when he returns in a few months. Also welcome back ZippyDee.
Title: Re: My explosive contest entry
Post by: aeTIos on July 04, 2011, 09:30:33 am
Too bad. It looks like he is grounded since he's not been on for a month.
Title: Re: My explosive contest entry
Post by: Darl181 on July 04, 2011, 12:30:16 pm
Or he's just been busy in life:
However now he works 10 hours a day, 60 hours a week

Not sure what's going to happen but for now...
Title: Re: My explosive contest entry
Post by: Darl181 on September 03, 2011, 06:54:45 pm
So I've been playing the version of this you released.

A few things...
(http://www.omnimaga.org/index.php?action=dlattach;topic=8450.0;attach=7846;image)
this is only a puzzle in beta so I actually am not able to solve it :P
There are ways to solve it, just putting it out there ;D
(At least two methods, tho one's easier to take advantage of than the other)

Also I was wondering if there's a way to add more barrels/objects?  Afaict it's hard-coded into the executable...
(btw, I had to compile from the backup folder.  The included Axe.8xp wouldn't load the level properly :( )

One last thing.  In the backup folder, the latest version (last folder), when I compiled from all the stuff the rope didn't do anything.  It just stretched and moved with the box as if all it were was Line().  idk what's wrong with it...

EDIT: this is the .zip I'm talking about btw http://ourl.ca/12763/238499
Title: Re: My explosive contest entry
Post by: Builderboy on September 03, 2011, 06:58:51 pm
There are multiple ways to solve all of the puzzles, since you gain so much freedom with the explosives.  And yeah, currently the objects are not part of the level code, they have to be coded into the executable.  Also I believe the game loads the level from an appvar created by the level creator, so if you don't have that it might not run.

Also that rope issue might be caused by many different things, but I was probably in the middle of working on the code, or maybe the length of the rope is merely too long, not sure :/
Title: Re: My explosive contest entry
Post by: Darl181 on September 03, 2011, 07:28:54 pm
I'm guessing it's in prgmZEDD but I can hardly tell what's what so yeah :P

Quote from: Zedd Engine.txt
Ropes         Data starts at L1+300
0   X location of rope anchor
2   Y location of rope anchor
4   Length^2 of rope
6   Length of rope
7   Object this rope is attatched to

What program is the data in to check?


Also is there a way to add more, even if it's just #→{pointer} for each value?
Title: Re: My explosive contest entry
Post by: Builderboy on September 03, 2011, 07:39:08 pm
It looks like the program to check is MAPLD, and to add an object use sub(ADD,X,Y,Width,Height,Mass,Sprite).  I believe those arguments are correct, but I'm not 100% sure.

There is not the same type of code for ropes though, but the area it is currently found is in program A:

Code: [Select]
:1→{L1+300}
:35*256→{L1+308}r
:0→{L1+310}r
:35*35→{L1+312}r
:35→{L1+314}
:2→{L1+315}

And it looks like you already found the arguments that these represent :)

EDIT: Also, if a list of objects starts at RAM location N, {N} holds the number of objects, with the first object starting at N+L where L is the length of each entry.  For object addition and removal, I use general purpose routines that are present in ZEDD that work for all of the lists in the game.  Object removal works by copying the last element of the list onto the element to be removed, so you don't need to worry about any object addresses changing unless they are the last, in which case I don't know D:
Title: Re: My explosive contest entry
Post by: Darl181 on September 03, 2011, 07:53:16 pm
Ok cool.
I'm guessing it's pixel-for-pixel (As in, no inflation needed on the inputs)?

So it can take up to 300 bytes of data before the ropes...so that's 300/16=~18 objects before it overflows.  Imagine using all those... O.O

For the sprite argument.  Does that count from zero?  Can one just add an extra sprite after the others and reference that?
Title: Re: My explosive contest entry
Post by: Builderboy on September 03, 2011, 07:59:01 pm
For the object input, it inflates them itself, for the rope however you need to inflate the anchor location yourself, or write a sub to handle it.  I believe there is also 1 more list to handle graphical effects that is located at L1+400, with entries of 8 bytes. 

For the sprite numbers, the number is an offset from a global sprite buffer.  0 is the first sprite in the buffer, 1 is the second ect... 
Title: Re: My explosive contest entry
Post by: Freyaday on September 04, 2011, 01:19:20 am
How many objects can the engine handle then?
Also, is this limit due to speed or size?
Title: Re: My explosive contest entry
Post by: Darl181 on September 04, 2011, 02:02:35 am
The first byte of object data starts at L1, while first byte of rope data starts at L1+300.  Each is 16 bytes.  300/16 rounds down to 18.  So, due to size.

For the sprites, it looks like I would add on to Str3?  (looking at the hex code at least, [C0C060...])
Title: Re: My explosive contest entry
Post by: Builderboy on September 04, 2011, 11:50:04 am
18 objects is going to be pushing past what the engine can handle anyway, especially if you are still in 6Mhz.  And yeah, sprites are in Str3 if I remember correctly
Title: Re: My explosive contest entry
Post by: Freyaday on September 04, 2011, 12:00:33 pm
Does the game become unplayable at that number of objects, or simply slower?
Spoiler For Anecdote:
The latest Nymless level has 17 mines in it, and is drastically slower than a level with no mines, but it is not only playable, but it makes the no-mine level seem too fast by comparison. Nymless checks for collision with every single mine every step of the collision routine. That's a lot of steps for 17 mines.
Title: Re: My explosive contest entry
Post by: Builderboy on September 04, 2011, 12:20:34 pm
It may or may not be unplayable at 18 objects, because each object that is not moving going into 'sleep' mode and stops checking for collisions itself (although it can still be hit by collisions from others)
Title: Re: My explosive contest entry
Post by: Freyaday on September 04, 2011, 12:34:18 pm
That's an interesting way of doing it. How'd you do that?
Title: Re: My explosive contest entry
Post by: Builderboy on September 04, 2011, 04:30:18 pm
If the velocity of the object is zero, and if there is a floor underneath the object, terminate the object collision code before it gets to the part where it collides with other objects.  It can be really handy as a speed maximizer, for every sleeping objects out of N total objects, you cut N-1 collisions out of the cycles. 
Title: Re: My explosive contest entry
Post by: Darl181 on September 04, 2011, 11:30:23 pm
Well I was having fun with this.  I had something like 7 explosive things (tho I think I got the density wrong...never bothered to fix it :P) at once in the level with all the open space.

Made a pyramid, flew above it and shot down ;D
Fun..
Spoiler For Spoiler:
Yes I said fly.  Seems a few things from debugging were left there...yay pressing random buttons
*holds alpha and watches in slow motion*
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on September 04, 2011, 11:32:30 pm
If someone picks this up again, I wonder if there could be some huge explosive objects where if they blow up, it would do like in the screenshot at the bottom of this page? That would really rule in larger rooms. :D http://www.omnimaga.org/index.php?action=articles;sa=view;article=72
Title: Re: My explosive contest entry
Post by: Stefan Bauwens on September 05, 2011, 06:56:23 am
If someone picks this up again, I wonder if there could be some huge explosive objects where if they blow up, it would do like in the screenshot at the bottom of this page? That would really rule in larger rooms. :D http://www.omnimaga.org/index.php?action=articles;sa=view;article=72
Isn't that 3d? Still Cool, though..
Title: Re: My explosive contest entry
Post by: Freyaday on September 05, 2011, 10:39:59 am
If the velocity of the object is zero, and if there is a floor underneath the object, terminate the object collision code before it gets to the part where it collides with other objects.  It can be really handy as a speed maximizer, for every sleeping objects out of N total objects, you cut N-1 collisions out of the cycles. 
So, something like


For(all objects)
Copy(Object Data,Var address, Length)
If Velocity
Check for collisions
End
End
Title: Re: My explosive contest entry
Post by: Builderboy on September 05, 2011, 03:23:54 pm
Yeah pretty much, although I'm not sure what the copying is for o.O
Title: Re: My explosive contest entry
Post by: Freyaday on September 05, 2011, 03:41:50 pm
That's to make it so that you can use the Axevars instead of the memory locations, because Axevars are faster.
Title: Re: My explosive contest entry
Post by: Builderboy on September 05, 2011, 04:09:12 pm
Oh, gotcha ^^ Yeah i thought you meant something with the copy command or something :P
Title: Re: My explosive contest entry
Post by: DJ Omnimaga on September 05, 2011, 04:10:39 pm
If someone picks this up again, I wonder if there could be some huge explosive objects where if they blow up, it would do like in the screenshot at the bottom of this page? That would really rule in larger rooms. :D http://www.omnimaga.org/index.php?action=articles;sa=view;article=72
Isn't that 3d? Still Cool, though..
Yeah kinda, although it would probably still look cool in some cases I guess, assuming the effect is made a bit smaller.