Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Sorry, i need a little help on FOGS!

i've created a ship, andi i want to create the sensation of movement of the sea
so i used on the tileset this fog, with SY: 150 to create the real movement of the ship:




but this is the result :(



how can i do to take the ship over the water? i've tried to colour the sea around the ship of white (strategy used with panoramas, not present in this tileset)

you guys are more expert then me.. so how can i do? XD
thanks for helping and collaboration
 
the problem is that a panorama does not move the sea, same problem with the ocean made by tileset.. please, if someone knows how i can move the sea with panorama or ocean's tileset post here..
 
Well, of course there is a script. But what I mean, you reduce the animation to 4 pictures, cut them out in 96×96, get them on the autotile template ( Im sure there is a pack of templates lying around the corner of a dusty board, and paste them 4 to each other making an animated autotile exactly as the water autotile. You just make them under the ship, and there you go;)
 
I made a moving ocean autotile. It's not very good, but it gets the concept across.

rollingoceanwf9.png

By brewmeister at 2009-01-13
 
i've tried your moving ocean, it' not bad
but it's too slow.. do you know how can i speed this movement?

however, script is this:

#===============================================================================
# Panorama Mover 1.1
#===============================================================================
# The Sleeping Leonhart
# Version 1.0
# 23-8-2007
#===============================================================================
# This little script allow you to move the Panorama.
# You can move the panorama with this command
# $game_map.move_panorama(x,y).
# Else you can compile the AUTOSCROLL_MAP hash for an auto movement in
# specificated map.
#===============================================================================
module Panorama_Mover
# AUTOSCROLL_MAP = {map_id => [x movement, y movement]
AUTOSCROLL_MAP = { 1 => [2,1]
}
# this is for the map not declarated in the hash don't touch if you dont know
#what are you doing
AUTOSCROLL_MAP.default = [0,0]
end
class Game_Map
attr_reader :panorama_ox
attr_reader :panorama_oy
alias tsl_game_map_setup setup
def setup(map_id)
tsl_game_map_setup(map_id)
@panorama_ox = 0
@panorama_oy = 0
end
def move_panorama(x,y)
@panorama_ox += x
@panorama_oy += y
end
alias tsl_game_map_update update
def update
tsl_game_map_update
move_panorama(Panorama_Mover::AUTOSCROLL_MAP[@map_id][0],Panorama_Mover::AUTOSCROLL_MAP[@map_id][1])
end
end

class Spriteset_Map
alias tsl_spriteset_map_update update
def update
tsl_spriteset_map_update
@panorama.ox += $game_map.panorama_ox
@panorama.oy += $game_map.panorama_oy
end
end

how can i put this on the game? i want the scrolling panorama only in this map (and in its copies..)
in the other dungeons panorama must be stay static..
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top