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 / Adjusting character colors with user selection

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Jun 2013 00:00 Edited at: 25th Jun 2013 00:36
I wrote a small demo showing how you can setup character sprites and adjust their colors in game. Maybe you have a car or spaceship that you want to allow the user to choose their own colors.

This example gives you 6 sliders to control the RGB values for two different layers on my animated barbarian character. You can change his skin color and clothing. The key is using multiple sprite layers and works best when the images are white. Complex, more detailed images may be more complicated to get the right look so try to separate the detail from the color in your images.


Made a quick video for those who like to see before downloading


Attachments

Login to view attachments
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 24th Jun 2013 07:27
Something tells me you're a fan of palace's barbarian

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Jun 2013 11:10
Well I do still have it on my Amiga and I'm remaking it for that retro competition.

JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 24th Jun 2013 15:01
Which Amiga have you got?

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 24th Jun 2013 15:10
I use the same method in my game. 4 sprites so the sword, shield and armor change color depending on your equipment.

haliop
User Banned
Posted: 24th Jun 2013 19:49
this is superb! i will sure to use it! thank you man.

Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 24th Jun 2013 20:13
Quote: "Well I do still have it on my Amiga and I'm remaking it for that retro competition."

I have an amiga 1200 and amiga cd32.
And even an large Collection of cd32 games like fears,alien breed 3d and superfrog.

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Jun 2013 21:29
I have the Amiga 500 myself with the extra external floppy drive and a midi interface kit. And until a year ago, I had many of the original boxes and manuals for my games.

Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 24th Jun 2013 23:16
Quote: "And until a year ago, I had many of the original boxes and manuals for my games."

I started collecting the amiga cd32 and its big box games 2 and a half year ago aproximately.

Its alot simplier when you feel like playing some Classic games as i hav 4-5 cd with Collection of games like rick dangerous 1-2 that is optimized for cd32 play with menues and all

The amiga cd32 works well with my 46 inch tv as well

I started collecting when i found Alien breed 3d big box for it .
Have you played it ?

I love this game even if many hates it.


2 other favorites on the cd32.



Many of my agk experiments to make fake 3d in agk started because of these games i found for my cd32

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 25th Jun 2013 00:24
AGK reminds me a bit of Amiga programming - trying to get a lot of stuff into a small model.

Got "Theme Park?" I ported that to CDTV/CD32. Unfortunately, CD32 was part of the disaster that killed Commodore (apart from greed). The engineers removed the CD interrupt which was in CDTV without asking the developers or CATS. As a result, "Music Maker" (which I programmed) and Dave Parkinson's excellent "spooly device" (for video) would not work, along with others. The CD interrupt happened on every "frame" on an audio track (75 frames/sec), giving perfect sync with CD audio.

In Music Maker, this made it possible to synchronise a sequence of Midi chord "masks", and when you pressed a key on the remote it would generate an in-tune note on the instrument you had selected, so that you could play along with the backing track. Same applied to Karaoke mode.

Most of this, I'm sad to say, is impossible using the audio in AGK. It's not entirely AGK's fault, because the audio facilities on typical Android devices or iOS are dreadful compared to the Amiga. Essentially, in my view, modern devices are designed to deliver "content" to passive listeners/viewers, not dynamically interactive systems.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jun 2013 00:29
I never even heard of the Amiga CD32. And after reading wiki I know why, it was never released in the US.

That game Gloom looks awesome though!

JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 25th Jun 2013 00:46
It's nice that the CD32 Wiki mentions the London Transport Museum's interactive installations running on CD32s. I programmed those! The buses and trams had to be base on real samples, captured on DAT, sliced up and modified so that if you pressed a bus accelerator peddle (real one!) the engine revved. But then automatic gear change had to be in as well. The code to do it was very small, but handed stuff across the 4 audio channels.

Dream on. I can do this on a PC, but on a tablet? Forget it! You have to get close to the iron, and we're not allowed to do that.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 25th Jun 2013 01:25
Quote: "I never even heard of the Amiga CD32. And after reading wiki I know why, it was never released in the US."

It where the us release that killed them because of a patent dispute with an us Company about some part that the cd32 used.

The history i read whas that they had already manufactured 100 000 -200 000 units for the us launch but they couldt sell any because of this patent argument.

So with most of there funds in units that they couldt sell so did they file for bancrupcy in less then a year later.

So you could say that it killed them

Jimhawkings you must be in my age or older then
Iam born 74

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 25th Jun 2013 07:41
Hi, Cliff. I'm 32 years older than you!

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 25th Jun 2013 13:02
Quote: "Hi, Cliff. I'm 32 years older than you!"

Darn! thats why you are so much better at coding then me

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jun 2013 15:36
Hey Jim, what was it like programming on an abacus?

JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 25th Jun 2013 16:15
Any response I make to that will get me banned.

Actually, pretty much like Windows, only more predictable!

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL

Login to post a reply

Server time is: 2024-05-07 09:50:43
Your offset time is: 2024-05-07 09:50:43