Eric: The Mysterious Stranger - RTS game(WIP)

User projects written in or related to FreeBASIC.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Sep 12, 2017 16:06

BasicCoder2 wrote:If you are writing a platform game you don't use real physics. The physics in such games are designed for control and fun.

I think real physics add an extra dimension of gameplay to platformers. Games like Trine use real physics and are quite fun because of it.

BasicCoder2 wrote:If you have reached that stage with Blender, I never did, you are on the home run. Will be interested to see how easy it is to tweak another character. For example I assume you will be tweaking Eric into Lagertha?

I started 3d modelling about 3 years ago. I still feel like I'm just starting.
My models are not usable in actual 3d games due to poly count. Their only use is to be prerendered for 2d games. I may experiment with another character soon if I have time.

BasicCoder2 wrote:Couldn't resist doing a quick cartoon of your Eric and female companion.

Nice! You're getting pretty good with these 2d pixel art sprites! I like the pixel art style result better than 3d, but for me it's faster to make 3d.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Nov 17, 2017 3:08

Image
Been doing a little bit more work on this.

List of some of the stuff I've been working on:
--As the player moves, the game moves the loaded sector of the map. Map size is 1200x1200 tiles currently.
--Enemy ai. Enemy agents build storage and then gather resources. (WIP)
--A couple new scenery graphics.
--I now have 3 different character sprites with walk and chop animations.
--It takes time to build structures. The more agents working together the faster the job gets done.
--Gui sound effects.
--You can now destroy enemy buildings or command your men to do so.

I felt like making an indiedb page as well.
http://www.indiedb.com/games/eric-the-mysterious-stranger
Last edited by Boromir on Dec 06, 2017 22:41, edited 1 time in total.
BasicCoder2
Posts: 3596
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby BasicCoder2 » Nov 17, 2017 4:49

@Boromir
Still working on your project. Are you able to provide a little utube action demo of the game so far?
One thing that I think makes a game easy on the eyes is sharp rather than blurry edges providing they don't become too cartoon like. Also consistency of art style and color matching. For example below are logs and stumps of the same coloring as the trees and the stump the same diameter as the trees.

Code: Select all

screenres 640,480,32
color rgb(0,0,0),rgb(255,255,255):cls

dim as any ptr image
image = imagecreate( 18, 27)
dim as ulong colors( 33)
colors( 0)=RGB(255,255,255)
colors( 1)=RGB(28,15,2)
colors( 2)=RGB(110,72,38)
colors( 3)=RGB(184,106,38)
colors( 4)=RGB(72,41,12)
colors( 5)=RGB(188,126,60)
colors( 6)=RGB(182,110,43)
colors( 7)=RGB(20,11,2)
colors( 8)=RGB(84,47,13)
colors( 9)=RGB(43,23,4)
colors( 10)=RGB(102,65,30)
colors( 11)=RGB(86,49,15)
colors( 12)=RGB(100,63,28)
colors( 13)=RGB(92,55,21)
colors( 14)=RGB(101,64,29)
colors( 15)=RGB(90,53,19)
colors( 16)=RGB(97,60,26)
colors( 17)=RGB(99,62,27)
colors( 18)=RGB(96,59,25)
colors( 19)=RGB(103,66,31)
colors( 20)=RGB(0,0,0)
colors( 21)=RGB(1,4,2)
colors( 22)=RGB(174,95,24)
colors( 23)=RGB(2,1,2)
colors( 24)=RGB(165,86,17)
colors( 25)=RGB(179,96,26)
colors( 26)=RGB(176,90,26)
colors( 27)=RGB(177,96,28)
colors( 28)=RGB(178,96,27)
colors( 29)=RGB(190,113,40)
colors( 30)=RGB(182,120,54)
colors( 31)=RGB(174,94,26)
colors( 32)=RGB(188,116,51)
locate 2,2
print "colors in the image"
for i as integer = 0 to  32
    line (i*16,16)-(i*16+15,16+16),colors(i),bf
next i

dim as string datum
dim as integer n
for j as integer = 0 to  26
    read datum
    for i as integer = 0 to  17
        n = val("&H" & mid(datum,i*2+1,2))
        pset image,(i,j),colors(n)
    next i
next j
bsave "stumpAndLog2.bmp",image
put (100,100),image,trans
sleep

DATA "000000000000010101010101000000000000"
DATA "000000000001020303020404010000000000"
DATA "000000000001010205050606010000000000"
DATA "000000000007040101010101070000000000"
DATA "00000000000704010809040A070000000000"
DATA "0000000000070B0B04010C0D010700000000"
DATA "000000000704090204010E0D0D0107000000"
DATA "000007070104010F09090401100107070700"
DATA "070707070104010C07110401080107070707"
DATA "000000000701091201071309010700000000"
DATA "000000070707070101070707070000000000"
DATA "000000000000000707000007070700000000"
DATA "000000000000070700000000000000000000"
DATA "000000000000000000000000000000000000"
DATA "000000000000000000000000000000000000"
DATA "000000000707000000000000000000000000"
DATA "000007070D04070700000000000000000000"
DATA "00040204020D0D0407070000000000000000"
DATA "00070401010401040D040707000000000000"
DATA "0007040D04040204020D0D04070700000000"
DATA "00000704041404020404010D0D0407070000"
DATA "0000000707070415040204010D0703160700"
DATA "000000000007070417040404071819051A07"
DATA "00000000000000070704040719061B071C07"
DATA "0000000000000000000707041919071D1E07"
DATA "000000000000000000000007071F20070700"
DATA "000000000000000000000000000707070000"
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Nov 17, 2017 16:41

BasicCoder2 wrote:@Boromir
Still working on your project. Are you able to provide a little utube action demo of the game so far?

Yes, I do hope to create a video soon if I have time.
BasicCoder2 wrote:One thing that I think makes a game easy on the eyes is sharp rather than blurry edges providing they don't become too cartoon like. Also consistency of art style and color matching. For example below are logs and stumps of the same coloring as the trees and the stump the same diameter as the trees.

I agree, consistent graphics is important.
The unmatching stump was a leftover from the previous tree graphic. What I find is time consuming is drawing the Viking buildings and making sure they are consistent.
BasicCoder2
Posts: 3596
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby BasicCoder2 » Nov 17, 2017 18:32

Boromir wrote:The unmatching stump was a leftover from the previous tree graphic. What I find is time consuming is drawing the Viking buildings and making sure they are consistent. What I find is time consuming is drawing the Viking buildings and making sure they are consistent.


At the moment the Viking characters need improving for they look more like monsters from the deep lagoon than people :)

It is a matter of keeping to an art style which is probably easiest when only one artist is involved or at least one artist sets the style.
A reduced palette of colors may also give a consistency particularly with regards to the mood of the game.
Don't know what art package you are using to paint your houses, trees, rocks and so on but you can impose a reduced color set such as shown in the code below. The "house.bmp" is your viking house and the color palette was extracted from the colors used in tree trunks.

Ultimately of course game play makes or breaks a game.
Here is an example of trying to make a card game out of a Vikings tv series.
https://www.kickstarter.com/projects/hr ... nd-conquer

But of course you are also trying to make a simulation of a civilization like Age of Empires which is a bit more complicated than the simple slash and run game.

My thoughts are that in any game it should be easy to learn, hard to get good at.

Code: Select all

screenres 640,480,32
const SCRW = 640
const SCRH = 480

const COLTOT = 32
dim as ulong colors(0 to COLTOT)
colors( 0)=RGB(255,255,255)
colors( 1)=RGB(28,15,2)
colors( 2)=RGB(110,72,38)
colors( 3)=RGB(184,106,38)
colors( 4)=RGB(72,41,12)
colors( 5)=RGB(188,126,60)
colors( 6)=RGB(182,110,43)
colors( 7)=RGB(20,11,2)
colors( 8)=RGB(84,47,13)
colors( 9)=RGB(43,23,4)
colors( 10)=RGB(102,65,30)
colors( 11)=RGB(86,49,15)
colors( 12)=RGB(100,63,28)
colors( 13)=RGB(92,55,21)
colors( 14)=RGB(101,64,29)
colors( 15)=RGB(90,53,19)
colors( 16)=RGB(97,60,26)
colors( 17)=RGB(99,62,27)
colors( 18)=RGB(96,59,25)
colors( 19)=RGB(103,66,31)
colors( 20)=RGB(0,0,0)
colors( 21)=RGB(1,4,2)
colors( 22)=RGB(174,95,24)
colors( 23)=RGB(2,1,2)
colors( 24)=RGB(165,86,17)
colors( 25)=RGB(179,96,26)
colors( 26)=RGB(176,90,26)
colors( 27)=RGB(177,96,28)
colors( 28)=RGB(178,96,27)
colors( 29)=RGB(190,113,40)
colors( 30)=RGB(182,120,54)
colors( 31)=RGB(174,94,26)
colors( 32)=RGB(188,116,51)

bload "house.bmp"

sleep

dim as ulong v,r,g,b,d,v1,r1,g1,b1
dim as integer min,choice

for j as integer = 0 to SCRH-1
    for i as integer = 0 to SCRW-1
        'get pixel color
        v = point(i,j)
        r = v shr 16 and 255
        g = v shr 8 and 255
        b = v and 255
        min = 24000
        for p as integer = 0 to COLTOT   'for each palette find best match
            v1 = colors(p)
            r1 = v1 shr 16 and 255
            g1 = v1 shr 8 and 255
            b1 = v1 and 255
            d = sqr((r-r1)^2+(g-g1)^2+(b-b1)^2)  'distance between colors
            if d < min then
                choice = p  'palette number
                min = d
            end if
        next p
        pset (i,j),colors(choice)
       
    next i
next j
           
sleep

Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Nov 17, 2017 21:49

BasicCoder2 wrote:At the moment the Viking characters need improving for they look more like monsters from the deep lagoon than people :)

It is a matter of keeping to an art style which is probably easiest when only one artist is involved or at least one artist sets the style.
A reduced palette of colors may also give a consistency particularly with regards to the mood of the game.
Don't know what art package you are using to paint your houses, trees, rocks and so on but you can impose a reduced color set such as shown in the code below. The "house.bmp" is your viking house and the color palette was extracted from the colors used in tree trunks.

Neat posterization program. One of my plans for the editor is an inbuilt pixel graphic editor where I can preview changes in real-time. That will help me see if something matches everything else better.
BasicCoder2 wrote:Ultimately of course game play makes or breaks a game.

Yes gamplay is important. That is why I like making strategy games.
BasicCoder2 wrote:My thoughts are that in any game it should be easy to learn, hard to get good at.

Yes, I'm trying to make the game fairly intuitive. Sometimes games just have too steep of a learning curve.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Nov 18, 2017 1:42

https://www.youtube.com/watch?v=6ym6B9Xs2Bo&feature=youtu.be
Here is a short video of some gameplay.
Sorry about the quality. I'm still learning out how to use the screen recording software I have.
D.J.Peters
Posts: 8189
Joined: May 28, 2005 3:28
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby D.J.Peters » Nov 18, 2017 4:00

Homemade "Age of Empires" I like it :-)

Joshy
BasicCoder2
Posts: 3596
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby BasicCoder2 » Nov 18, 2017 19:43

Perhaps one day tools such as Blender will evolve to the stage of having a menagerie of plants, animals and other objects along with an algorithm to generate random humans which we can take to a virtual clothes shop and dress them up just by selecting the clothes desired. Then be able to apply kinetic melodies to them without the need for manual rigging. An automatically created 3D world from a set of chosen objects. All with the click of a mouse button.
.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Nov 18, 2017 20:22

BasicCoder2 wrote:Perhaps one day tools such as Blender will evolve to the stage of having a menagerie of plants, animals and other objects along with an algorithm to generate random humans which we can take to a virtual clothes shop and dress them up just by selecting the clothes desired. Then be able to apply kinetic melodies to them without the need for manual rigging. An automatically created 3D world from a set of chosen objects. All with the click of a mouse button.

There are tools like that existing but don't you think that takes all the fun out of art? You won't feel much sense of achievement when using those kind of programs either.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Dec 03, 2017 23:47

http://www.indiedb.com/games/eric-the-mysterious-stranger
Image
I added a dialog screen and game log.

D.J.Peters wrote:Homemade "Age of Empires" I like it :-)

Joshy

Thanks Joshy!
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Mar 11, 2018 23:53

I made a new video of the game. It's pretty similar except the addition of classical guitar background music and showing the dialog functionality.
https://www.youtube.com/watch?v=XSRFNbUd4GA

http://www.indiedb.com/games/eric-the-m ... s-stranger
BasicCoder2
Posts: 3596
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby BasicCoder2 » Mar 13, 2018 0:37

Still working away at your project. How are you coming along with making characters with Blender?
My impression from reading the introduction was of a game about Eric on a Quest whereas the game play so far seems to be mainly about a god micro managing the actions of his subjects much like games like Settlers with Eric gathering his gang as a side line? Is the player going to be Eric or a god? Eric needs to get a move on before Freda beats him to the punch :)
I am watching your progress with interest.
Boromir
Posts: 451
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby Boromir » Mar 13, 2018 1:16

BasicCoder2 wrote:Still working away at your project. How are you coming along with making characters with Blender?

I've gotten some decent pixel sprite renderings with blender.
Image
This has cell shading, outlining and uses blender's cloth physics.
BasicCoder2 wrote:My impression from reading the introduction was of a game about Eric on a Quest whereas the game play so far seems to be mainly about a god micro managing the actions of his subjects much like games like Settlers with Eric gathering his gang as a side line? Is the player going to be Eric or a god? Eric needs to get a move on before Freda beats him to the punch :)
I am watching your progress with interest.

The game is mainly an RTS. So Settlers and Age of Empires would be good comparisons. The story is one of the harder parts of the development. It takes a lot of time to do the writing and making it fit smoothly with the gameplay. I'm focusing more on getting the engine mechanics and gameplay functional first.

Btw, In the video did the game's background music feel obtrusive? I think the first track feels very medieval but I am not sure about the last 2.
BasicCoder2
Posts: 3596
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Eric: The Mysterious Stranger - RTS game(WIP)

Postby BasicCoder2 » Mar 13, 2018 17:24

Boromir wrote:Btw, In the video did the game's background music feel obtrusive?
I think the first track feels very medieval but I am not sure about the last 2.

Thinking about it now maybe the first one was medieval like. Didn't they have flutes as well?
The last pieces sounded more like Spanish music to me.
Have you considered using comic book clouds for written conversations?
Maybe a close up of the characters involved in their own area so not to cover the scene.
Last edited by BasicCoder2 on Mar 13, 2018 22:21, edited 1 time in total.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 5 guests