• Anmelden

1

Sonntag, 10. Juni 2007, 10:32

Transperents skript

Hi leuteich bins mal wieder :D
ich weis nicht ob es sowas hier schon gibt (fals es das gibt plz link posten und cloasen) ich suche einen skript durch den wen ich hiter einem gegenstand stehe (z.B. einem Baum) mein char sichtbar bleibt und der baum nurnoch sehr schwach da is (also fast komplet transperent) thx im vorraus
Bild

Ragnai

Seher

Motto: The only way to escape personal corruption of praise is to go on working -Einstein

  • Nachricht senden

2

Sonntag, 10. Juni 2007, 11:46

a) Falsches Forum
b)
Ich glaube kaum das es sowas gibt, allerdings könntest du ja mal probieren über Events dieChargrafik einfach zu ändern, und die Chargrafik auf alwys ON Top zu setzen.

Der Coe würde dann ungefähr so aussehen (ich gehe davon aus du kommst von links und gehst unter den baum:

If Player Facing Right:
Change Actor Grafik:'So ROT oder sowas'
Move Set Route:
Actor Always ON Top=ON
else If Player Facing Left:
Change Actor Graphic: 'Normal
mopve Set Route: Always ON top = OFF
end
end

xD
~Ragnai
Bild

3

Sonntag, 10. Juni 2007, 12:20

oder du benutzt folgendes script:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#==============================================================================
# * Player Show
#Version 1 by Jimme Reashu
#11:th of februari 2006
#==============================================================================
SDK.log("Player Show", "Jimme Reashu", 1, "02.11.06")
#------------------------------------------------------------------------------
# * Begin SDK Test
#------------------------------------------------------------------------------
if SDK.state("Player Show") == true
  #--------------------------------------------------------------------------
  #BEGIN Spriteset_Map modification
  #--------------------------------------------------------------------------
  class Spriteset_Map
    #--------------------------------------------------------------------------
    alias jimmeR_PS_sprmap_intichar init_characters
    #--------------------------------------------------------------------------
    def init_characters
      # Make character sprites by calling the original method
      jimmeR_PS_sprmap_intichar
      #Make transparent player sprite, showing over tiles, fades and all the rest.
      sprit = Sprite_Character.new(@viewport3, $game_player)
      sprit.fade
      @character_sprites.push(sprit)
    end
    #--------------------------------------------------------------------------
  end
  #--------------------------------------------------------------------------
  #END Spriteset_Map modification
  #--------------------------------------------------------------------------
 
  #--------------------------------------------------------------------------
  #BEGIN Sprite_Character modification
  #--------------------------------------------------------------------------
  class Sprite_Character < RPG:prite
    #--------------------------------------------------------------------------
    alias jimmeR_PS_sprchar_update update
    #--------------------------------------------------------------------------
    def update
      jimmeR_PS_sprchar_update
      #This makes the player display on top of the rest in the same viewport
      self.z = @fade == true ? 4999 : @character.screen_z(@ch)
      #This makes the whole character transparent by using the same method as the grass.
      self.bush_depth = @fade == true ? bitmap.height/4 : @character.bush_depth
    end
    #--------------------------------------------------------------------------
    def fade
      @fade = true
    end
    #--------------------------------------------------------------------------
  end
  #--------------------------------------------------------------------------
  #END Sprite_Character modification
  #--------------------------------------------------------------------------
end


credits an jimme_reashu.

im endeffekt sollte das dann so aussehen:
Bild

Bild
AUF EIS

4

Sonntag, 10. Juni 2007, 12:50

THX genau das hab ich gesucht!
Bild

Social Bookmarks