Baby stuff

Creating Games? Developing something for fun?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3621
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Baby stuff

Post by richmond62 » Fri Jun 14, 2019 1:40 pm

Probably . . .
-
gameTest.jpg
-
But here I am in my villa in the Rhodopes, away from all my jazzy computers, making do with
a 32-bit Mac Intel iMac running MacOS 10.6.8 running LiveCode 8.1.10 . . . not half as bad as it seems!
-
Anyway . . . to cut a short story long . . . some silly prawns (read "naive 10-11 year olds I teach")
made some fairly off-colour remarks about not being able to produce a 2D map-based game
with LiveCode without a game engine (which is, of course, a load of cack) . . .

Controlling a deep-seated urge to smash their teacher at the Maths school in the "mush"
(he teaches these kids C++ and Visual BASIC and says that Linux and Macintosh are
"also rans" compared with Windows), I told them I'd produce a proof-of-concept this
weekend (and a very dirty weekend it has been, too: mainly because
Karen Armstrong's "A History of God" is far, far more interesting than moving
silly icons round a screen).

Each silly icons contains this script:

Code: Select all

on mouseUp
   send "mouseUp" to btn "reset"
   put the name of me into fld "fNAME"
   set the outerglow["color"] of me to 255,255,255
   set the outerglow["size"] of me to 20
   set the outerglow["spread"] of me to 20
end mouseUp
and the script of the backGroundImage is this:

Code: Select all

on mouseUp
   put the mouseLoc into xPLACE
   put fld "fNAME" into xNAME
   move xNAME to xPLACE
end mouseUp
Rocket science it ain't: but it is a good 15 minutes work. 8)

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3621
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Baby stuff

Post by richmond62 » Fri Jun 14, 2019 1:44 pm

And the button "reset" goes like this:

Code: Select all

on mouseUp
   set the outerglow["size"] of img "bee.png" to 0
   set the outerglow["spread"] of img "bee.png" to 0
   --
   set the outerglow["size"] of img "insect.png" to 0
   set the outerglow["spread"] of img "insect.png" to 0
   --
   set the outerglow["size"] of img "bfly" to 0
   set the outerglow["spread"] of img "bfly" to 0
   --
end mouseUp

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3621
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Baby stuff

Post by richmond62 » Fri Jun 14, 2019 4:21 pm

Currently stealing Warcraft sprites:

https://www.spriters-resource.com/pc_co ... warcraft2/

Post Reply

Return to “Creating Games”