Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Zefk

Pages: [1] 2 3 ... 28
1
Stable book in progress: Here

18/19 chapters are mostly done for the book. Only the chain quest chapter (chapter 16) is left.

2
General discussion / Re: Design of graphs of dungeons
« on: April 19, 2017, 07:54:51 am »
I am gonna take notes on these videos. I think information like this would be very useful in the game development section of the book I am working on. Also, I could add more ideas to the brainstorm post.

3
Your projects / Allied AI Script Project Alpha
« on: April 17, 2017, 01:55:54 am »
Allied AI Project Alpha

I recently started working on a Allied AI script while working on the book project. I am panning only 2 allies like in Secret of Mana (Seiken Densetsu 2).

Finished: (All lag is due to bad gifs, the Solarus engine runs fine)
  • Basic Follower Script - The Ally custom entity follows the hero and when the ally gets stuck (hit an obstacle), it searches for the hero.

I seriously cannot believe at how easy this is to program. Thank you Christopho for the amazing functions.


Not finished:
  • Melee
  • Projectiles
  • Custom Entity Enemy
  • Enemy

4
Game art & music / Re: Original art
« on: April 15, 2017, 11:35:11 pm »
I will PM you. I do not want to get too off topic on your original art post.

5
Game art & music / Re: Original art
« on: April 15, 2017, 11:46:43 am »
Quote
Seiken Densetsu 3
Yes, this one is a great game. I liked how there is more choice when it comes to character selection and the graphics are super amazing, but the pause before attacks is kinda annoying. Seiken Densetsu 2 (Secret of mana) has rapid attacks, but not much or no damage is inflicted by rapid attacking, but it was a good way to hold off enemies. The company Square has made some great games. Did you play Sword of Mana?

I am working on an ally system script for a game like Seiken Densetsu 2. I got a custom entity to behave like an NPC and it is following the hero today. I am hoping to have projectiles done tomorrow to damage a custom entity.

6
Game art & music / Re: Original art
« on: April 14, 2017, 11:26:46 am »
That sleep animation in your previous update reminded me of Secret of Mana and sequels. I really like this remastered version. You did a great job on the animation improvements.

7
Game art & music / Re: Fairyolica World v0.1_CC-BY-SA v3.0
« on: April 14, 2017, 10:35:33 am »
Fairyolica World v0.2 outside/exterior released:
Fairyolica World outside V0.2-Alpha

Fixed:
+Bridge
+Log Tunnels
+Moved doors to entities folder

Added:
+Added lots of NPC sprites
+Entities

License:
+Updated license

Last release:
This will be the last release. I am moving on to different projects and no longer have time for it.

8
Game art & music / Re: Female Eldran
« on: April 12, 2017, 10:00:44 am »
Added gimp work file above. Basically, the color of the coat, hair, and skin has been separated with the color select tool. Not 100% perfect, but no errors are noticeable from what I saw.

9
Game art & music / Re: Female Eldran
« on: April 12, 2017, 08:01:41 am »
@Diarandor
I named her Eldrina. I added sword tapping and a spin attack. Now she is a basic heroine! I added everything in a zip file above.

Added animations:
-spin_attack
-sword_tapping
-sword_loading_stopped
-sword_loading_walking


10
Game art & music / Female Eldran
« on: April 11, 2017, 04:24:12 pm »
I finished some animations I needed for a female Eldran. This female version will be in the chain quest for the book project.

@Diarandor
What should her name be?

Animations:
-carrying_stopped
-carrying walking
-dead
-dying
-grabbing
-hurt
-lifting
-pulling
-pushing
-stopped
-sword
-throw
-walking
-spin_attack
-sword_tapping
-sword_loading_stopped
-sword_loading_walking


Note: The gifs are slow






eldran.png


eldran_grabbing.png


eldran_miscellaneous.png


eldran_sword_brandish.png


eldrina_spin_attack.png


eldrina_sword_loading.png


eldrina_sword_tapping.png

11
Bugs & Feature requests / Re: Run Ability bug?
« on: April 08, 2017, 06:12:59 am »
I will go ahead and report it on github.

12
Development / Re: How do I print a string to txt file?
« on: April 08, 2017, 01:26:38 am »
This might be what you want. Create your text file manually just in case. The file is "test.txt" in the usage example below. I got an error until I created it.


Read Line Function:
Code: Lua
  1. --Read line function
  2. local function readLines(sPath)
  3.   local file = sol.file.open(sPath, "r")
  4.   if file then
  5.         local tLines = {}
  6.         local sLine = file:read()
  7.         while sLine do
  8.           table.insert(tLines, sLine)
  9.           sLine = file:read()
  10.         end
  11.         file:close()
  12.         return tLines
  13.   end
  14.   return nil
  15. end
  16.  

Write Line Function:
Code: Lua
  1. --Write line function
  2. local function writeLines(sPath, tLines)
  3.   local file = sol.file.open(sPath, "w")
  4.   if file then
  5.         for _, sLine in ipairs(tLines) do
  6.           file:write(sLine)
  7.         end
  8.         file:close()
  9.   end
  10. end

Usage:

Code: Lua
  1. --Make a text file
  2. local file_make_test = sol.file.open("test.txt", "w")
  3. file_make_test:close()
  4.  
  5. local tLines = readLines("test.txt") -- Read this file
  6. table.insert(tLines, "This is the first line!\n") -- Line 1
  7. tLines[2] = "This is line 2!\n" -- Line 2
  8. tLines[3] = "This is line 3!\n" -- Line 3
  9. tLines[4] = 50 -- Line 4
  10.  
  11. table.remove(tLines, 2) -- Remove line 2
  12. writeLines("test.txt", tLines) --Write lines to this file
  13. print("Lines in the file: ", #tLines) --Print number of lines
  14.  
  15. --Open file. You must open the file to get the value
  16. local tLines = readLines("test.txt") -- Read this file
  17.  
  18. --Print line 3. Line 4 will not be 50 because we removed line 2. That means line 3 will be 50.
  19. print("Line 4 value is: "..tLines[3])

13
Development / Re: [Solved] Create a custom switch
« on: April 07, 2017, 01:00:05 am »
I edited my example above to be a working example, but it only works for the exact point and it might be some time before the hero walks on that exact point unless you manually calculate the range.


It might be easier to use the overlap function because there is no need for calculations.

Code: Lua
  1. sol.timer.start(400, function()
  2.   if entity.on_activated ~= nil then
  3.     entity:on_activated()
  4.  return true
  5.   end
  6. end)
  7.  
  8. function entity:on_activated()
  9.   if hero:overlaps(entity) then
  10.     sol.audio.play_sound("secret")
  11.     hero:start_hurt(240,277,6)
  12.   end
  13. end

14
Game art & music / Re: Free game art for Zelda like game (and other)
« on: April 06, 2017, 09:43:39 pm »
Wow! This is some pro work! I love how you made it public domain too.


15
Game art & music / Re: A Free Music / SFX Resource - Over 1000 Tracks
« on: April 06, 2017, 07:48:37 am »

Thanks for checking. Obscene as in pornographic.


That makes sense now. Thank you for answering.

Quote
I hope everyone's having a calmer, less stressful week than I am.  :-)

This week is alright for me. I hope your remaining week will be better! I think your music this week is extra amazing. The tracks are slightly melancholy or gloomy.


Pages: [1] 2 3 ... 28