Allegro.cc - Online Community

Allegro.cc Forums » The Depot » Any plans for upcoming speedhacks?

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
Any plans for upcoming speedhacks?
Mark Oates
Member #1,146
March 2001
avatar

I need some motivation to throw something together.

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Elias
Member #358
May 2000

👌

--
"Either help out or stop whining" - Evert

GullRaDriel
Member #3,861
September 2003
avatar

A resurrection hack would also bring more known games on the new API. I second Edgar :-)

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Chris Katko
Member #1,881
January 2002
avatar

I'm currently hacking on the One Hour One Life codebase. :)

I forked it for showing live, proof-of-concept, of my ideas. Also, within about an hour, I got a higher resolution mode working.

Normal:
{"name":"images","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/a\/9a7bef4b8c0a04f269e2c6250736213f.jpg","w":303,"h":166,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/a\/9a7bef4b8c0a04f269e2c6250736213f"}images

Mine:
{"name":"RTQctpJ.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/8\/884616f20a1bd7a8d7c675eb6ec520c2.png","w":1366,"h":768,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/8\/884616f20a1bd7a8d7c675eb6ec520c2"}RTQctpJ.png

(Looks like one left tile of overdrawn. TWO tiles on the right. ;D at off-by-one error.)

Currently their server's send data early (outside the screen) to allow overdrawing (that is, 10px of a 300px object, before the whole object is in frame).

I play on a 55" 4K screen (not bragging.) and the DPI with this game literally makes me nauseous at default scale when I travel.

I'm still reading through to figure out whether I can make more actual drawing distance occur. (objects and all). Because I think the game would be WAY more playable than the insane hardcoded low resolution of 720p (1280x720p). You can't even buy a laptop in the last ~8 years with lower than 1366x768!

The code... some of it is nicely laid out. Other parts... are horrific. You can tell what parts he has experience with and what he doesn't / what was hacked in because the game concept changed from when he started. Lots of stuff being learned for planning my future projects.

Also, he uses ASCII text sent over http for all game connections. And I can't tell if that's bad... or horrific. Because he basically has to parse every single MESSAGE TYPE ... by parsing ENTIRE STRINGS. (scanf!) That cannot be fast!

Especially since he wanted his servers to support TWO HUNDRED concurrent players! Right now, they're capped at 60 and still laggy because they were insanely laggy (15+ seconds!) on launch. I think it's not just "lag" but something happening causing a huge connection deadlock or something. Because I'll be frozen, while many other player move about. Like my input connection (or message buffer) is full, while others can update AND send their updates to me (from the server).

I don't really want to fix his netcode for him. More, trying my own expansions and demo'ing ideas I think the game should already have.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

amarillion
Member #940
January 2001
avatar

I'd join a resurrection hack :)

Maybe we can put something together for the occasion of easter?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Chris Katko
Member #1,881
January 2002
avatar

Easter is a pagan holiday that takes away from the real time to commemorate, which is Passover.

Jesus Christ.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Chris Katko said:

Jesus Christ is our Passover

FTFY.

Easter is derived from Ishtar, which is an idol and a false god. Rolling easter eggs and eating chocolate bunnies is not Christian. You're supposed to be commemorating the sacrifice of Christ. He's the one who earned our place in heaven and earned the forgiveness of our sins with his blood.

I didn't want to make a big deal out of this, but Easter should be abolished in its entirety. If you're gonna be a Christian, worship the Father and the Son, not a freaking chocolate rabbit. I didn't mind when I was a kid because I didn't know any better, and candy and colored eggs can pull the wool over your eyes but there's a time for everybody to grow up and become an adult with a brain instead of a kid with a sugar tooth.

Neil Roy
Member #2,229
April 2002
avatar

Hmph, Edgar and I agree on something! Well said. ;)

I think "resurrection hack" makes the most sense when involving resurrecting an old game and modernizing it or whatever. Would be fun, even though I only ever took part in one of the past Speedhacks (the first one).

---
“I love you too.” - last words of Wanda Roy

bamccaig
Member #7,536
July 2006
avatar

Easter is a statutory holiday and a chance to gather with the extended family. No need for anything religious about it. Even when I was a Christian nobody ever spoke of Christian themes at Easter unless you were in church. Get over yourselves. >:(

Neil Roy
Member #2,229
April 2002
avatar

Can we please stick to discussion about a resurrection-hack? Man alive...

---
“I love you too.” - last words of Wanda Roy

Mark Oates
Member #1,146
March 2001
avatar

👍For resurrection hack. Set a time, I'm there.

Neil Roy said:

Man alive...

He is risen!!

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Neil Roy
Member #2,229
April 2002
avatar

He is risen!!

LMAO, I never even thought of it that way! ;D

---
“I love you too.” - last words of Wanda Roy

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Since this is an informal hack, we need to discuss the rules and what is considered participation in the hack, and how long it should be etc...

For example, I think positive participation for the hack could be to resurrect a depot game with available source code and hack it for three days. You could port it from Allegro 4 to Allegro 5, add a feature, fix some bugs, update code, do whatever you want with it. And it doesn't have to be someone else's code it can be your own code, and it doesn't have to be from the depot, that was just an example.

I say 72 hours from Friday 6PM until Monday 6PM or Noon UTC or Midnight UTC or whatever 3 days later. Or maybe we could spend a whole week on a hack. That's a more realistic expectation. You do have to understand someone else's code, or else your own old stinky code you would rather replace.

You could port an old game to another language, or just give it a fresh update with new binaries from new compilers and new libraries.

Or if you're feeling artistic, make an art pack for an old game with bad graphics.

Take something dead, and make it alive. ;D xD

We have somewhat around 4 weeks to plan.

Let's come up with some rules and some ideas, and perhaps some hosting options.

;D

Mark Oates
Member #1,146
March 2001
avatar

72hrs 👍
Any already pre-existing code or "completed" game 👍
Friday to Monday sounds good, because shouldn't interfere with work

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

amarillion
Member #940
January 2001
avatar

I can make the TINS site available if desired.

All we need now is to pick some dates!

DanielH
Member #934
January 2001
avatar

March 30th to April 1st would seem appropriate.

Day of crucifixion to day of resurrection.

amarillion
Member #940
January 2001
avatar

Those dates work for me!

Mark Oates
Member #1,146
March 2001
avatar

DanielH said:

March 30th to April 1st

Oh wow that works perfectly!

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

GullRaDriel
Member #3,861
September 2003
avatar

That should work for me too !

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Participation could be as simple as reviving some old forum code that you think is too cool to die.

For example, I found Bloobs! by Johan Peitz and recompiled it from source. I slowed down the timer a bit so you could see what is going on. Hold tab to run full speed.

Bloobs! modified src + static win32 binary

{"name":"611333","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcd3129d0b2bf2b7f80209d16b172d7f.png","w":642,"h":513,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcd3129d0b2bf2b7f80209d16b172d7f"}611333

Elias
Member #358
May 2000

I'll be spending that weekend with my wife's family celebrating some pagan holiday... but I should find a few hours working on our ancient teamhack game again!

--
"Either help out or stop whining" - Evert

amarillion
Member #940
January 2001
avatar

Quick show of hands - who would like me to turn on the TINS website for this event? I could do it easily, but I don't want to force-feed it.

Elias
Member #358
May 2000

✋️

--
"Either help out or stop whining" - Evert

 1   2   3 


Go to: