Allegro.cc - Online Community

Allegro.cc Forums » The Depot » [SH 2015] Alex Park

This thread is locked; no one can reply to it. rss feed Print
[SH 2015] Alex Park
Mark Oates
Member #1,146
March 2001
avatar

My official entry into Speedhack 2015

Alex Park

{"name":"609524","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/7\/3783fcc75124d52cefdbe5b3fa72cef0.png","w":512,"h":148,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/3\/7\/3783fcc75124d52cefdbe5b3fa72cef0"}609524
(logo did not make it into the game)

Alex Park is a SIM Park type game where you take on the role of a park owner. You have to bulid up your park, increase the number of visitors, and reach all the achievements. Amass more than 1000 visitors and you win the game! :D

Screenshots:
{"name":"609533","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/7\/9736a292de5a3bef7e393e7a4aeb77a2.png","w":1198,"h":798,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/7\/9736a292de5a3bef7e393e7a4aeb77a2"}609533{"name":"609532","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/4\/b4326fc09298c3587bbfd29006c9fe9b.png","w":1197,"h":798,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/4\/b4326fc09298c3587bbfd29006c9fe9b"}609532{"name":"609530","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/3\/13288754b27aa1f92e5828852e54c630.png","w":1199,"h":801,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/3\/13288754b27aa1f92e5828852e54c630"}609530{"name":"609531","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/a\/7a28d5c207c48f59571e2e5aec64341e.png","w":1200,"h":801,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/a\/7a28d5c207c48f59571e2e5aec64341e"}609531

Downloads:

  1. Download Alex Park for Windows

  2. Source (also with data files)

Controls:

  1. Use the mouse to point.

  2. Use the Arrow Keys to move the camera

  3. Press '[' to zoom in and ']' to zoom out

Disclaimer:
Unfortunately, not everything got into the game. Most of my time was spent implementing working gameplay, that I didn't get to the rules. 10 Extra minutes and I would have gotten the annoying sound, but a critical last minute bug had to be fixed so I had to "git checkout ." to revert everything and fix it rather than finish the feature. The 500 particle rule was a challenge for me in particular because I was running into serious performance issues with 3D and several transforms when having more than 50 items in the scene, or trying to draw more than 100 tiles on the ground. So, the award for worst adherence to the rules goes to... this guy. :-/

[Sorry guys, I keep updating my post. :-X I accidentally slipped when I first subitted the initial post and have been frantically tossing it together in edits :P - Edits are finished now.]

--
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

Elias
Member #358
May 2000

Windows Binary says it's missing libgcc_s_dw2-1.dll.

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

Mark Oates
Member #1,146
March 2001
avatar

Ah yes, the DLLs. I've now updated the download to include the DLL files.

--
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

SiegeLord
Member #7,827
October 2006
avatar

That was quite a ride :D!

{"name":"609542","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/3\/53f0fe59a5eb73bc5e02e3c5b0053539.png","w":1200,"h":800,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/5\/3\/53f0fe59a5eb73bc5e02e3c5b0053539"}609542

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Simon Parzer
Member #3,330
March 2003
avatar

For me the game doesn't display grass texture or drop shadows, and I can't place walkways.

bamccaig
Member #7,536
July 2006
avatar

This looks really cool, Mark! Nice work. Even if you didn't get it finished, you seem to have gotten quite far.

10 Extra minutes and I would have gotten the annoying sound, but a critical last minute bug had to be fixed so I had to "git checkout ." to revert everything and fix it rather than finish the feature.

Protip: Next time just git stash [save 'wip to complete annoying sound']. Or, as I prefer:

git checkout -tb annoying-sound
git commit -am 'wip: Need to commit to work on something else.'
git checkout -tb fix-X master
*hack* *hack* *hack*

Think of Git like Google. There's no need to delete anything. If it's an ugly hack then branch, commit, and move on. It's trivial to do and once you get used to it you can easily transition between features and fixes and keep the stable code all straight. That commit doesn't have to be permanent either. You can go back and rebase it later to tidy it up.

Or even reset it away and keep working as if you never committed at all:

git checkout annoying-sound

# Move branch and index back to previous commit/tree
# (i.e., forget about 'wip: Need to commit to work..."
# commit, but leave the changes in the working tree
# for you to keep working on them).
git reset [--mixed] HEAD~

And remember, git reflog is your friend. :) Git doesn't keep any changes in your working tree until you tell it to, but once you do it will remember them for months, even if you think you lost them by mistake. The best thing is to just start a new "topic" branch and commit them there so it's easier to find them and reference them later.

Bruce Perry
Member #270
April 2000

The font has variable-width digits :-/

So it's basically a delayed-gratification pixel art tool, but it's got some nice polish :)

Perhaps you could retroactively claim it's a sequel to one of Peitz's games, getting you out of a couple of rules? ;)

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

GullRaDriel
Member #3,861
September 2003
avatar

Works fine on my computer.
The UI is particularly reactive and easy.
Also, there is no sound or it is me ?
I would have loved to put long roads without clicking like a mad.
Nice entry !

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

devo_au
Member #15,282
August 2013

Happiness rating, all games need one. Excellent UI. Great little sim for speedhack. I will have to check out some of your other stuff when you put it out, too good 8-)..

it wasn't me, it was other kids

Elias
Member #358
May 2000

My keyboard seems to have only the zoom+ key... at some point I zoomed in all the way and couldn't zoom out anymore. Made it quite annoying to finish.

I also couldn't figure out what the 5 symbols for a building mean. Basically I mostly placed an insane amount of merry go rounds until I had 1000 visitors :D

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

Bruce Perry
Member #270
April 2000

Indeed, I had trouble with those symbols too (once I noticed them). I ended up just trying different assets and stopping with an asset whenever it stopped improving the visitor counts. It took me a while before I even decided to start trying things though; at first it just felt like a waiting game.

--
Bruce "entheh" Perry [ Web site | DUMB | Set Up Us The Bomb !!! | Balls ]
Programming should be fun. That's why I hate C and C++.
The brxybrytl has you.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Onewing
Member #6,152
August 2005
avatar

For me the game doesn't display grass texture or drop shadows, and I can't place walkways.

Same problem for me. I built a concession complex to get the funds rolling followed by some member centers. Then it was sit back and watch the achievements unlock (always nice to unlock something new). I decided park benches looked like fences and made a border. Wish I could've done walkways :(.

{"name":"609588","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/a\/ea6fa57d03e44fa49cbf3ca0ec4445f0.png","w":2421,"h":1663,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/a\/ea6fa57d03e44fa49cbf3ca0ec4445f0"}609588

------------
Solo-Games.org | My Tech Blog: The Digital Helm

Go to: