Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
Liberated Pixel Cup

Sorcerer's Garden (HTML5)

sanojian
Sunday, July 22, 2012 - 14:33

What a great contest!  I got a very late start and there is a good chance I won't finish, but here is my work-in-progress anyway.  

You have inherited a magical garden.  Combine your veggies to make magical cocktails to defeat the undead who have overrun the town.

Using craftyjs (game engine), raphaeljs (vector graphics) and Tiled (map editor).

repo:  https://github.com/sanojian/lpc_sorc_garden

demo: http://sanojian.github.com/lpc_sorc_garden/game.html

Controls

move:  w a s d

plant/pick:  p

choose spell:  1-8

cast spell: mouse

What is working:

  • maps importing
  • zoning
  • planting
  • inventory
  • harvesting
  • mixing spells (only two available so far)

What is missing (almost everything):

  • npcs
  • combat
  • maps
  • looting
  • sound
  • equipment
  • purpose

 I am horrible at this social coding stuff (blogs, updates, etc) but here is a screenshot.

 

Screenshot

  • Log in or register to post comments
Botanic
joined 13 years 10 months ago
Sunday, July 22, 2012 - 20:34
Botanic's picture

There seems to be some nasty lag when you go and try to zone up from the starting point

 

Other then that looking good.

=======

 

Full Steam Ahead! o/ <-- little ascii fist in the air holding a debugging hammer.

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Monday, July 23, 2012 - 14:39

Thanks for that, Botanic!  I had not noticed.  The latest push should fix it.  

FYI the game works best in Chrome.  Runs okay in Firefox.  Life is too short to worry about IE for a hobby project  ;-)

  • Log in or register to post comments
gnudist
joined 12 years 11 months ago
Monday, July 23, 2012 - 15:10

More so when you consider you won't get extra points for getting your LPC entry to run on a propritary platform. :P

  • Log in or register to post comments
yolkati
joined 13 years 11 months ago
Monday, July 23, 2012 - 22:35
yolkati's picture

It's too big for my screen. =(

Attachments: 
Preview
Área de trabajo 1_011.png Área de trabajo 1_011.png 98.2 Kb [216 download(s)]
  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Tuesday, July 24, 2012 - 01:46

Ack!  Yeah that would make it unplayable.

I added a url parameter to choose the height of your screen.  Default is 768.  You can specify like this:

http://sanojian.github.com/lpc_sorc_garden/game.html?height=640

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Friday, July 27, 2012 - 10:28

Latest update:

  • added 2 new bolt spells
  • added 4 new area effect spells
  • added spell sound effects
  • mobs can now be damaged and die
  • fixed some zoning bugs
  • some ui effects

Still to do:

  • make maps
  • clothe the nekkid hero
  • 4 shield spells
  • bonus materials to make stronger spells
  • hero health and death
  • music
  • more sound effects
  • x-platform sounds
  • more/different bad guys

Not gonna happen (no time):

  • loot and equipment
  • melee combat
  • fishing
  • npc's

 

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Sunday, July 29, 2012 - 09:01

Latest Update:

  • player health and death (return to home)
  • new map-in-progress

I takes me forever to make one of these maps.

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Wednesday, August 1, 2012 - 15:22

Finished and submitted! There is a playable game in here somewhere.  Not quite what I set out to make but I am satisfied with the results.

Please leave some comments if you play the game and tell me what you think is good and (especially) what is bad.

 

http://sanojian.github.com/lpc_sorc_garden/game.html

 

Now for some sleep.

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Wednesday, August 1, 2012 - 15:24

Forgot to mention, if you notice any graphics that I forgot to mention in AUTHORS.txt please let me know so I can update it.

These graphics were too good to go un-attributed!!!   :-)

  • Log in or register to post comments
Jules
joined 12 years 11 months ago
Thursday, August 2, 2012 - 08:01

Just tried it, but first time I died I respawned inside a wall in the house and couldn't get out.

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Thursday, August 2, 2012 - 08:09

Really?  I have died hundreds of times without that happening. What browser and OS?

  • Log in or register to post comments
pennomi
joined 14 years 7 months ago
Thursday, August 2, 2012 - 11:16
pennomi's picture

Ah cool stuff! I really like the crafting system - do you have any spoilers on some of the cool stuff we can make?

  • Log in or register to post comments
Jehn
joined 12 years 10 months ago
Thursday, August 2, 2012 - 11:22

yolkati, perhaps if you press F11 to go fullscreen you can see the entire game without needing to change the height

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Thursday, August 2, 2012 - 11:24

Thanks for the feedback!  :-)

  • spoiler1: There are four elemental forces of nature
  • spoiler2:  Using the carrot is the only one that doesn't make any sense.  All other combos at least make some sense if you think about it.
  • spoiler3:  Some stuff cant be grown, but must be found
  • spoiler4: There are 12 combos total, but each one can have its power increased (but how?!)  ;-)

 

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Thursday, August 2, 2012 - 11:25

Thanks for that tip, Jehn.  By the way if you are using Chrome you will have to refresh (F5) after resizing the window or the GUI will get messed up.  You lose all progress when you refresh, sorry.

  • Log in or register to post comments
pennomi
joined 14 years 7 months ago
Thursday, August 2, 2012 - 11:42
pennomi's picture

sanojian: Thanks for the hints :) I'm definitely going to find all the recipes!

  • Log in or register to post comments
krooked590
joined 12 years 9 months ago
Wednesday, September 12, 2012 - 01:55
krooked590's picture

just curious, how you did your level design?

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Wednesday, September 12, 2012 - 03:22

@krooked590: You mean what tool?  I used Tiled (www.mapeditor.org)

 

@harryp22:  ummm... what?

  • Log in or register to post comments
krooked590
joined 12 years 9 months ago
Wednesday, September 12, 2012 - 03:45
krooked590's picture

awesome thanks. i actually just discoverd that about an hour ago but thanks for letting me know.

  • Log in or register to post comments
makrohn
joined 13 years 1 month ago
Friday, September 14, 2012 - 04:56
makrohn's picture

Can a moderator delete harryp22's comment?  I'm pretty sure that's nonsensical spam.

  • Log in or register to post comments
Stefan Beller
joined 13 years 2 months ago
Thursday, December 20, 2012 - 14:36

Can a moderator please remove makrohns last comment as well?
(and this one as well)

Hence of that I searched the whole thread for a comment of harryp22.

 

  • Log in or register to post comments
Botanic
joined 13 years 10 months ago
Thursday, December 20, 2012 - 23:40
Botanic's picture

http://www.youtube.com/watch?v=anwy2MPT5RE

=======

 

Full Steam Ahead! o/ <-- little ascii fist in the air holding a debugging hammer.

  • Log in or register to post comments
devnewton
joined 13 years 6 months ago
Friday, December 21, 2012 - 11:24
devnewton's picture

Nice work, but WASD is terrible choice for non qwerty players :'(

 

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Friday, December 21, 2012 - 11:50

Sorry about that.  To be honest I didn't even think of it.  I will definitely remember that it is a bigger world next time.

Thanks for trying it.  :-)

  • Log in or register to post comments
devnewton
joined 13 years 6 months ago
Saturday, December 22, 2012 - 02:59
devnewton's picture

I wonder if it's possible to detect keyboard layout in javascript?

  • Log in or register to post comments
sanojian
joined 12 years 11 months ago
Wednesday, January 16, 2013 - 23:31

Again, sorry about this oversight.  Just out of curiousity, what keyboard layout are you non-qwerty folks using?

There does not appear to be a way to detect the layout in Javascript.  see:

http://stackoverflow.com/questions/8892238/detect-keyboard-layout-with-javascript

So for now, arrow keys as a backup are probably necessary.

  • Log in or register to post comments
devnewton
joined 13 years 6 months ago
Thursday, January 17, 2013 - 05:09
devnewton's picture

I use an azerty keyboard, because french also wanted to have they own non optimized keyboard!

 

  • Log in or register to post comments