Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Small Game Templates...

Author
Message
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 19th Jan 2017 11:01 Edited at: 19th Jan 2017 11:08
Hi

Here is my template : "City Building Simulation" (a very basic example for a game like "Forge of empire" or "Town ship")

I have put in the zip 5 versions (0.1 to 0.5), to show how to add features to a game.
Tell me what do you think about this template, if it's good enough.

PS : For comments, I think they need to be fixed, because english isn't my native langage ^^

AGK2 tier1 - http://www.dracaena-studio.com

Attachments

Login to view attachments
damothegreat
User Banned
Posted: 19th Jan 2017 12:59 Edited at: 19th Jan 2017 18:56
...
Using Tier 1 AppGameKit V2
Started coding with AMOS
Works with a Lenovo IdeaPad 700, 1TB SSD (Data), 128GB HD (System), 12GB Ram, GeForce Nvdia 950M, Windows 10, 2.3Ghz (Turbo to 3.2ghz when required)
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 19th Jan 2017 15:09 Edited at: 19th Jan 2017 19:46
My second submission

I was going to write this at the weekend but I've had a quiet couple of days at work, so in between meetings I've broken out AppGameKit and managed to bang out Floppy Birds

Code is attached. There's probably way more comments than actual code.
More of a complete game than a template. It's just lacking sounds.


Edit - Reuploaded to fix a few typos in the comments
AGK V2 user - Tier 1 (mostly)

Attachments

Login to view attachments
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 19th Jan 2017 15:35
Scraggle wrote: "Code is attached..."


I need new glasses I guess, but where?
Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200. Using AGK2 Tier 1.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 19th Jan 2017 16:58
Quote: "I need new glasses I guess, but where?"


Oops! Try it now
AGK V2 user - Tier 1 (mostly)
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 19th Jan 2017 18:52
Great example Scraggle!
Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200. Using AGK2 Tier 1.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 19th Jan 2017 19:48
Thanks
AGK V2 user - Tier 1 (mostly)
haliop_New
User Banned
Posted: 20th Jan 2017 15:17
Scraggle that is amazing ! wish you could add the sounds so it would be perfect.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jan 2017 15:22
Be my guest.
You've got all of the code right there. Feel free to add whatever sounds you like.

I put i together in between meetings at work. I think people would notice if it started to make sounds as well.
AGK V2 user - Tier 1 (mostly)
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Jan 2017 16:05
Good looking Floppy Bird
The reputation of this game combined with the source code to make it will be attractive to wannabe coders.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 20th Jan 2017 21:23
Here is my attempt at a template for a bullet hell/top down shooter style game. I'm not sure if there is too much code for a good template, but I've tried to keep the code organised and I've added plenty of comments which will hopefully help explain what''s going on. If you just want to give the game a try, you can play it online here. Or you can download the attachment and have a look at the code (which I guess is the main point!). Any comments/feedback on making the template better/more useful are welcome. Anyhow I hope someone finds it useful .

Attachments

Login to view attachments
damothegreat
User Banned
Posted: 20th Jan 2017 22:55 Edited at: 29th Jan 2017 20:23
29 games
19
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 21st Jan 2017 10:48
Here's my contribution/submission, a simple endless tunnel racer:



It can be played with either keyboard, gamepad/joystick or touch screen.

Hover Car Race Challenge! - available now on Google Play
Invaders of the 29th Dimension - available now on Google Play
Find me on indieDB

Attachments

Login to view attachments
damothegreat
User Banned
Posted: 21st Jan 2017 11:26 Edited at: 29th Jan 2017 20:23
george++
AGK Tool Maker
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 21st Jan 2017 13:34
@29 games: This is the definition of a simple 3D game for beginners. Thanks for the contribution.
damothegreat
User Banned
Posted: 21st Jan 2017 14:10 Edited at: 29th Jan 2017 20:23
damothegreat
User Banned
Posted: 24th Jan 2017 18:28 Edited at: 29th Jan 2017 20:23
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 25th Jan 2017 10:23
Congrats on the new Job Damo!
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jan 2017 13:09
Good luck with the new job.
Same problem here, real work gets in the way of play!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 25th Jan 2017 18:36
I simplified the project and signed as I could


Attachments

Login to view attachments
RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 26th Jan 2017 15:51
Hi all,

We now have a Tutorial AppGameKit badge. This is awarded anyone who creates and submits a game tutorial.

I have added the badge to users who have supplied versions of their games so far.

If I missed anyone please let me know.

Rick
Development Director
TGC Team
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Jan 2017 16:15
I have my badge, many thanks.
RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 27th Jan 2017 13:23
Here's a small request that will help new users, I hope someone can pick up this challenge;

"Create a small demo tier1 project that shows the correct method for setting up the screen so that it will configure no matter what device it's run on (so it adapts to any screen res)."

I ask because it's a common issue and a small demo would help so many new users.

Rick
Development Director
TGC Team
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 27th Jan 2017 14:16 Edited at: 27th Jan 2017 14:22
I prepare graphics for screen sizes, for example on 1136x640 iphone5 and thus I customize virutal dimensions.

For vertical game:

or
For horizontal game:
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Jan 2017 14:31

This is how I do it in every one of my games.
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 27th Jan 2017 16:46 Edited at: 28th Jan 2017 00:47





Mobiius,I don't understand your code is not convenient.
In my example, I adjust the height in relation to specified width, and all images look great and in their places.

p.s. Sorry for my English.
https://www.instagram.com/qugurun/

Attachments

Login to view attachments
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Jan 2017 18:00
Quote: "i don't know how to do the same with your example."

I don't understand.

In my example you don't need to change anything, just cut and paste and your good. I use a percentage system, so X and Y values go from 0.0 to 100.0 on all devices across all screen sizes.
janbo
16
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 27th Jan 2017 19:11 Edited at: 29th Oct 2017 10:57
Normaly I also use the percentage system, but I don't set the aspect ratio so I have 100x100 Units in the middle of the screen no matter what orientation.
I then use GetScreenBoundsTop etc. to place sprites in relation to to the top border for example ...again no matter what orientation or resolution.
..like so:


This ofc. results in a different playing area for every device or orientation so I Restrict it to the 100x100 Units in the middle,
everything else is some extra space to place no-game-changing things like the user interface.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 30th Jan 2017 09:07
That's all well and good, but not one of my projects has used DarawBox, and sprites will auto scale to use their correct aspect ratio when either height or width is set to -1 so a 100x100 sprite can always be 100x100.
janbo
16
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 30th Jan 2017 16:06 Edited at: 29th Oct 2017 10:57
Stretching the coordinate system on the X axis so it fits the whole screen, is nice..
The only problem I see, for me, is if you want something orbiting around something you wouldn't get a circle but an oval, for example.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 30th Jan 2017 17:03
You would if you take that into account with your trig. for example, multiply your x value by Y * aspectRatio.
janbo
16
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 30th Jan 2017 17:28 Edited at: 29th Oct 2017 10:58
Of course you could overcome that problem.
It's just... I wouldn't like to take the streching into account for every position I do in runtime
I think we are even, we both like using the percentage system and the rest is habitation
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 31st Jan 2017 11:42
Hey Rick, from how it looks right now, my project (The angry birds template) could be in danger not getting done till the deadline. So if anyone wants to take it, I would be happy for it.

Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200. Using AGK2 Tier 1.
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 31st Jan 2017 21:56 Edited at: 1st Feb 2017 08:33
MikeHart,

My latest WIP is pretty similar to Angry Birds. I could just rewrite it a bit and use that for a template if you don't think you'll be able to do it in time. Although I'm in the process of moving houses at the moment so I might take a while to get it done too

My Games - Latest WIP
130,000 installs with AppGameKit and counting
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 1st Feb 2017 07:54
I have some free time this weekend, so will get the Smash Hit template done.
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 1st Feb 2017 10:37
easter bunny wrote: "My latest WIP is pretty similar to Angry Birds. I could just rewrite it a bit and use that for a template if you don't think you'll be able to do it in time. Although I'm in the process of moving houses at the moment so I might take a while to get it done too"


Yes easter bunny, it would be great as it would take some load off my end here.
Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200. Using AGK2 Tier 1.
RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 6th Feb 2017 16:51
Hi,

Someone asked me about an isometric demo. Could anyone knock up a very basic project showing how to store data and the display ordering of tiles to make such a game work in AppGameKit?

Rick
Development Director
TGC Team
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 7th Feb 2017 02:05 Edited at: 7th Feb 2017 02:05
A few hours tinkering this evening and I have a playable Smash-Hit style game made. I need to have a tidy up of the code, and do a tiny bit of 3d object culling optimisation, then I'll post it up. In the meantime, here's a teaser:

Attachments

Login to view attachments
MikeHart
AGK Bronze Backer
21
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 7th Feb 2017 10:40
Ok, I won't be able to finish the template. Sorry!
Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200. Using AGK2 Tier 1.
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 7th Feb 2017 17:09
@CJB - Looks really slick from the picture

@Rick - Is there any way of putting links to all the templates in the original post to make it easier to get at them or do you have other plans?
The Amiga and Amos were great!
damothegreat
User Banned
Posted: 7th Feb 2017 17:27
I also haven't forgot Frogga on the Run .... I'm still on with it with Collision detection these days.

I have been tied up mostly with job hunting and getting myself straight with work

I shall post Frogga very soon

Watch this space.

Damo
BenjiBenjamin123
7
Years of Service
User Offline
Joined: 10th Feb 2017
Location:
Posted: 10th Feb 2017 12:25
RickV - thanks for the information and useful links!
damothegreat
User Banned
Posted: 12th Feb 2017 20:28 Edited at: 13th Feb 2017 06:17
Goodbye the lot of you

Attachments

Login to view attachments
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 12th Feb 2017 21:14
Another weekend has passed and I haven't had time to tidy this again... SO, here is the messy version of SMASH-IT!

No media in this version, so you can just copy and paste into a new project. I'll try to make it pretty during the week. Probably requires a bunch of tweaks too... this was my first attempt at a 3D game!

Code is here:

SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 12th Feb 2017 23:34 Edited at: 13th Feb 2017 16:24
@CJB great work, even more so with first attempt at 3D.

You should get your AppGameKit Tutorial Creator badge from this entry!
The Amiga and Amos were great!
damothegreat
User Banned
Posted: 13th Feb 2017 06:23 Edited at: 13th Feb 2017 06:27
Good bye - I'm having time out from you lot for a year or too - shall come back when I can make good stuff

cya
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 13th Feb 2017 09:10
Ok Damo. Good luck with the job situation!
Biffo
7
Years of Service
User Offline
Joined: 18th Feb 2017
Location:
Posted: 18th Feb 2017 15:48
Uh..... Thank you all, very much.
damothegreat
User Banned
Posted: 20th Feb 2017 22:17
I have always been interested in creating 2.5D in a 3D world - so I am working on a template for an isometric game... Bit similar to Marble Madness

Post it up soon
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Feb 2017 22:37
How about finishing Frogger first since you've already been awarded the tutorial badge for it
AGK V2 user - Tier 1 (mostly)

Login to post a reply

Server time is: 2024-11-24 09:03:23
Your offset time is: 2024-11-24 09:03:23