![]() |
|
KrampusHack 2016 |
Eric Johnson
Member #14,841
January 2013
![]() |
Day 2 progress: camera and map classes are complete. Scrapped a bunch of useless/ugly tiles. Designed more of the player sprites. Got a working map to render. Tomorrow: player class and keyboard inputs and maybe states (intro screen, credits, etc).
|
Specter Phoenix
Member #1,425
July 2001
![]() |
I was tempted to join, but I've never been able to finish anything due to time constraints over family so I decided I wouldn't waste everyone's time this year.
|
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
@Specter Get your New Avatar Pack here Use : Call PopulateAvatars and if it succeeds, you can call GetAvatar with whatever avatar you want. Valid sizes are 160, 64, and 32. Black and white only works with 32. Valid indices are from 0 to 11, in member order. Read Avatars.cpp:avatar_names to see who is who. Protip. If you're using an atlas, allocate an area 12*(size + 2) by size + 2 on your atlas, create a sub bitmap of it, and then call CreateAvatarAtlas on the sub bitmap and CreateAvatars on that same bitmap. Then call GetAvatar as usual. It will use the sub bitmap of your main atlas to draw the avatars on, and then create sub bitmaps of each avatar on it as well. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
bamccaig
Member #7,536
July 2006
![]() |
Specter Phoenix said: ...so I decided I wouldn't waste everyone's time this year.
Except for that 30 seconds we'll never get back. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
What's the matter bambam? Run out of booze again? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Felix-The-Ghost
Member #9,729
April 2008
![]() |
Edgar Reynaldo said: I hated that cat so I blocked his avatar with custom CSS.
That has always been my #1 favorite on this forum |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
But I love kitties!!! Like this one {"name":"610683","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/d\/dd70947677822ac0fe34c1d86f930c25.jpg","w":640,"h":477,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/d\/dd70947677822ac0fe34c1d86f930c25"} EDIT Near to a working selection screen. My avatar testing is complete. The avatar pack should be good to go. {"name":"610684","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/4\/a4cfbffaa379aae4fcdef9970dc12edc.png","w":1026,"h":801,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/4\/a4cfbffaa379aae4fcdef9970dc12edc"} Where to go from here? I need some kind of theme or genre or basic clues as to what to go on. If everyone could post 3 things that they would like to see in their game, that would be immensely helpful. (Oh, and things like monitor resolutions would be good - right now I'm working for 1024x768 as that is widely supported and emulated.) I'll start : My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
amarillion
Member #940
January 2001
![]() |
Didn't you get that information in your PM from OneWing already? I already posted my wishlist... -- |
Takaaki Furukawa
Member #16,609
December 2016
![]() |
Sorry, I said I would be in but I will be out. I have a load of real life stuff to do and won't be able to make a game on time.
|
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
My PM was kind of bare. Not much to go on. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
amarillion
Member #940
January 2001
![]() |
Well, for me it's too late to change direction anyway. If you don't have enough to go on, maybe you can look a bit into the persons background and use some of that. Maybe you can spoof some elements from a depot / speedhack game of your subject? -- |
GullRaDriel
Member #3,861
September 2003
![]() |
FYI Edgar, my avatar was actually one of MY cats. "Code is like shit - it only smells if it is not yours" |
amarillion
Member #940
January 2001
![]() |
Time for a vague progress update. So here is the plan. I figure I won't have enough time to do a completely new game from scratch. So what I'm doing instead is taking an old competition entry from way back, and giving it an upgrade, new balancing, and extra polish. And a completely new theme. With the relaxed krampushack rules, I think that this should be ok. I'll replace most of the graphics so I'm hoping that it's going to be different enough to keep the secret safe. So far I've programmed about 6-7 hours. I'll have to do day job and other llife stuff during the week, but I figure I should be able to spare another 10 hours or so before the deadline. -- |
Eric Johnson
Member #14,841
January 2013
![]() |
Edgar Reynaldo said: If everyone could post 3 things that they would like to see in their game, that would be immensely helpful.
Didn't we do this in the last thread? I mentioned cheesecake and dogs, but here goes again: Oh, and my resolution is 1600x900, but 1024x768 works. Also, not sure who got me (I don't want to know until after Christmas), but whomever it is... you don't have to implement all my "wishlist" ideas. Takaaki Furukawa said: Sorry, I said I would be in but I will be out. I have a load of real life stuff to do and won't be able to make a game on time.
Sorry to see you go, Takaaki! Maybe next year!
|
Mark Oates
Member #1,146
March 2001
![]() |
1. Cats -- |
SiegeLord
Member #7,827
October 2006
![]() |
1. A completed game "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Derezo
Member #1,666
April 2001
![]() |
Oh man, this is hard. From My Secret Krampus I would like [edit] "He who controls the stuffing controls the Universe" |
Elias
Member #358
May 2000
|
1. Zero, one or more elephants. -- |
Eric Johnson
Member #14,841
January 2013
![]() |
Update: hit a major snag in my code.
|
Elias
Member #358
May 2000
|
I'm using my old collection of useful functions, but somehow collision detection seemed off in my game. I generally only add simple functions to that collection and when I'm 100% sure it's bug free - so I was trying all kinds of things for an hour in my current game code before I double checked the function I was using from that collection. And was shocked to find this: if dx + dx + dy * dy < radius * radius: I don't understand how I never noticed earlier. I need to add unit tests to each single of my functions in that collection. After Krampushack. -- |
Mark Oates
Member #1,146
March 2001
![]() |
Quote: if dx + dx + dy * dy < radius * radius: Oh wow, that's a nasty one Yea, I just ran into a few missing features in framework code. One related to al_set_new_bitmap_flags(), Allegro, al_clone_bitmap(), and drawing pixel-perfect scaled renders. I added a PR, btw. It ultimately resolved in me creating a new function in my framework. But yes, there are a lot of holes in there! Oh, by the way, Adobe CC sucks, guys -- |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
I couldn't understand why my icons weren't rendering in the correct position until I realized I wasn't drawing them at their actual location, only centering them on the same space. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Specter Phoenix
Member #1,425
July 2001
![]() |
Edgar Reynaldo said: Was that your post on mingw-users I just replied to? The post I made was about copy constructor, std::copy(); error I was getting and then went into good programming practices.
|
bamccaig
Member #7,536
July 2006
![]() |
Edgar Reynaldo said:
I couldn't understand why my icons weren't rendering in the correct position until I realized I wasn't drawing them at their actual location, only centering them on the same space. Those are fun bugs. When you know what you're doing ahead of time, intend to wire something together, but don't. It compiles, it runs, but it doesn't work. How can it possibly not work, it's so simple?! Cue hours lost chasing gremlins because your assumptions are bad. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Eric Johnson
Member #14,841
January 2013
![]() |
Got past that snag I mentioned earlier.
|
|
|