Working on a javascript game. I made a simple sprite tech demo. Tell me what you think 8)
To install, select all of this text (make sure to scroll down!) and copy it to your clipboard (control + C):
Then navigate to the [url http://www.allegro.cc/cc/theme-css]extensions page[/url] and select the bottom text box with your mouse and paste (control + V). You must be logged in to navigate to this page.
Please note that you may be required to refresh a couple of times or perform a hard refresh in your browser (the F5 key for firefox).
Click save and enjoy!
Note that It probably only works in FF, but do let me know if you try it on another browser.
Hopefully the keys are intuitive enough. It doesn't do much besides jump around. Oh and escape quits.
[img http://www.allegro.cc/files/attachment/591929]
[img http://www.allegro.cc/files/attachment/591931]
The sprite is by the ever talented Inphernic
You must be bored.
That is freaking awesome!!! I'm amazed how well it works too.
And it showed me a few things in JavaScript that I wasn't sure was possible. I'm dreaming of making a simple GUI of controls that will be positionable with mouse dragging to simulate windows in the browser... They will allow you to hopefully resize them and move them, etc. Anyway, it's good to know how to position them.
In Internet Explorer 7, the "player" continues to "drop" and the page continues to grow... Probably infinitely until the browser blows up from memory usage; I didn't wait to see. Anyway,...
Ie7Support = false;
If you don't, I might look at it and try to fix it for IE7 (just not tonight). It's actually a fun idea. It should be expanded and made more interactive...
Sweet. Add possibly a mid-air frame? I like that the images are all hosted from allegro.cc as well
Here's what happens with Opera 9.10:
The sprite falls from the top of the page to a position just below the bottom of the screen (in 1280x1024 mode). When I then scroll down so that I can see it, left and right keys make it move left and right (funnily enough) and up makes it jump (it can be moved left and right while "in the air").
If this is the desired behaviour, then congrats.
Nice, it even works in Konqueror
Seems to work with Opera 9.02 (winxp)
Seems to work with Opera 9.02 (winxp)
Why havent you upgraded yet?
Opera didn't notify me
What post did you attach those images to?
Is it just a little angel man you can move around or am I missing something?
Is it just a little angel man you can move around or am I missing something?
That's only the intro. Keep playing.
Nice, but it would be better if it followed the page as it scrolls down.
Working on a javascript game. I made a simple sprite tech demo. Tell me what you think 8)
You must be bored.
Heh. Ya pretty much
n Internet Explorer 7, the "player" continues to "drop"
This should be fixed, however I believe the controls wont work in IE.
Add possibly a mid-air frame?
Done. (note the graphics are done by Inphernic).
I'm dreaming of making a simple GUI of controls that will be positionable with mouse dragging to simulate windows in the browser
Ever looked at http://www.pageflakes.com/ or gone to the 'personalized' google homepage?
He looks much better now (check screenshots on OP).
this is entertaining, keep at it.
(note the graphics are done by Inphernic)
You just ruined it for me...
Ever looked at http://www.pageflakes.com/ or gone to the 'personalized' google homepage?
Thanks for the link! That looks like it could be useful, but I want to write it myself so I know how...
I'll ruin something else for you.
Aeris dies lololol!
Did you cry when she did?
Why don't you finish your Thing library instead of wasting your time with this gamEHHEM, eheem, I mean, very nice game, this jumping little angel is just what I needed!
Little joke!
I'm dreaming of making a simple GUI of controls that will be positionable with mouse dragging to simulate windows in the browser... They will allow you to hopefully resize them and move them, etc. Anyway, it's good to know how to position them.
Well, with the Echo2 library, you can display your own Java desktop applications in a web browser, without using a Java applet...
Why don't you finish your Thing library instead of wasting your time with this gamEHHEM, eheem, I mean, very nice game, this jumping little angel is just what I needed!
Heh
Aeris dies lololol!
Who is Aeris again?
Something tells me Bamccaig is going to be making good use of .m1111 { display: none; }
edit:
fixed script
Edit2:
Whoops, thanks CGames:)
.m1111 { display: none; }
Something tells me Bamccaig is going to be making good use of
.m1111 { display: none; }
Wait! Wait..
..oh, nevermind. I thought I started caring there for a second, but it was just gas!
Something tells me Bamccaig is going to be making good use of
.m1111 { display: none; }
I think I missed something. Where do you get m1111 from?
I'll ruin something else for you.
Aeris dies lololol!
I already knew she died... That didn't really make sense.
Get your head examined... First by a plastic surgeon so the psychologist isn't distracted.
Did you cry when she did?
Only a little.
I think I missed something. Where do you get m1111 from?
Not reading other's posts seems to be a big thing nowadays. In fact, it's grown so popular that ML decided to make it possible to completely remove other people's posts from your view! Just go edit your custom CSS, and add this line: .post.m1111 { display: none; }, where 1111 is the poor member's number, and you won't be bothered by their worthless blather again.
Remember, kids, no one cares about your ignore list. It's grown really annoying on IRC recently when people will just start telling everyone "you are now on my ignore list". Great. No one cares. Just a friendly reminder before you go posting something stupid!
Oh also you're putting yourself at risk of being flamed for not reading others posts.
Where do you get m1111 from?
1111 is Inphernic's member number. If you put .m1111 { display: none; } in your Custom CSS configuration, you will not see any of his posts.
EDIT: Beaten!
Remember, kids, no one cares about your ignore list. It's grown really annoying on IRC recently when people will just start telling everyone "you are now on my ignore list". Great. No one cares. Just a friendly reminder before you go posting something stupid!
News: this is not IRC. I don't think there are more than a few posts about ignoring users lately...
[edit]
I mean, besides this thread...
That didn't really make sense.
It would if you were rad.
worthless blather
Is that your opinion or just for example's sake?
It's grown really annoying on IRC recently when people will just start telling everyone "you are now on my ignore list". Great. No one cares.
Well, honestly, what did you expect?
Ostrich Mode is a go go!
Yeah, I don't like the idea of hiding replies from members on a forum. Although there are posts from some that are rude or worthless, those members are still capable of contributing useful replies. At least, theoretically...
Besides, I like to know what members have said so I can factor it later.
Although there are posts from some that are rude or worthless, those members are still capable of contributing useful replies. At least, theoretically...
At least you are obviously on a higher level than those members. I mean, most people have small signatures, but you have settled for nothing less than a 11-line signature. Related to FF7. That's the mark of a king of all kings, I tell you. Post more, contribute!
News: this is not IRC. I don't think there are more than a few posts about ignoring users lately...
Well, also recent was DDustin's "Ban User" custom JavaScript. But as far as this not being IRC: We'll see about that! /me starts on an Allegro.cc post-to-IRC bridge.
Hrm, I had hopped to make a cool game out of this (remake of the SH game made a few years ago). Unfortunately it sliding down the side of the screen on each page load has made it extremely annoying to me, so much so that I've lost motivation to help the guy come to life.
And so ends A.cc in Desert of Doom.
What about storing the last position in cookies and using those values when loading the page?
The problem is more that I've gotten annoyed of him, its too late to fix it. Its sort of a motivational issue.