| View previous topic - View next topic   | 
  
  
  
    | Author | 
    Message | 
  
  
    
      js71 Wandering DJ
 
  Joined: 22 Nov 2002 Posts: 815
  
     | 
    
      
        
           Posted: Sat May 24, 2003 10:16 pm    Post subject: Possible RPG Side Project | 
          [quote]    | 
         
        
          
  | 
         
        
          
             
 
 
 
 
 
 
 
 
 
 
 
Yeah, I did these yesterday... I dunno, I might do a little mini-RPG with em- I'm starting the Manuscript already, and in case you're wondering, those blue thingies are a creation of mine, called Wyvern Rays. A stingray crossed with a Wyvern. Yup. If anyone would like to code for this Might-Be project, just say so... It would be appreciated. Any language is fine, as long it's not like... Game maker. Ick.
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      Bjorn Demon Hunter
  
  Joined: 29 May 2002 Posts: 1425 Location: Germany 
     | 
    
      
        
           Posted: Sat May 24, 2003 10:47 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          | 
            Have you played Cave Adventure? If that engine does about what you need, I could try to assist you into coding your game. It has an easy to use level editor supporting two layers + obstacle tile edges (an improvement over tile obstacles). It depends on Lua scripts for the gameplay and object implementations though, and I do not have time to program this for you, but I can be your helpdesk.
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      js71 Wandering DJ
 
  Joined: 22 Nov 2002 Posts: 815
  
     | 
    
      
        
           Posted: Sat May 24, 2003 10:50 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          | 
            That would be cool- But... I'm REALLY not a programmer. Like, the best thing I can program is a text adventure. In qb. <_<      >_>
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      akOOma Wandering Minstrel
  
  Joined: 20 Jun 2002 Posts: 113 Location: Germany 
     | 
    
      
        
           Posted: Sun May 25, 2003 8:00 am    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            So these screenies are drawn by you and not real screenshots taken of the game???
 
...
 
The graphics look awesome....great work _________________ Keep on codin'
 
-----------------
 
 
 
-----------------
 
Just another post to increase my rank...
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      papillon Fluffy Bunny of Doom
 
  Joined: 09 Mar 2003 Posts: 16
  
     | 
    
      
        
           Posted: Sun May 25, 2003 8:54 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            hey, now, programming a *good* text adventure is a demanding programming task. particularly if you're attempting to write your own parser. :)
 
 
but I digress
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      Bjorn Demon Hunter
  
  Joined: 29 May 2002 Posts: 1425 Location: Germany 
     | 
    
      
        
           Posted: Mon May 26, 2003 9:25 am    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            Maybe only writing the Lua code is relatively easy. That is, if I write the more difficult parts but those parts can generally be shared among games (ie. animation handler, sequence handler, conversation box logic).
 
 
I recently started adding object oriented programming. Not sure if it is actually going to work, but here's an example of a scripted tree:
 
 
 	  | Code: | 	 		  -- Definition of a tree object
 
Tree = Decoration:subclass
 
{
 
  postBeginPlay = function(self)
 
    -- Call postBeginPlay of super class
 
    self.super.postBeginPlay(self)
 
 
    -- Initialize tree properties
 
    self.bitmap = m_get_bitmap("tree.bmp")
 
    self.obstacle = true
 
    self.w = 1
 
    self.h = 1
 
  end
 
 
  activatedBy = function(self, instigator)
 
    if (instigator == m_get_player()) then
 
      SeqControl:addSequence{
 
        ActionConversation{
 
          {{"Player"}, {"It's a tree!"}}
 
        }
 
      }
 
    end
 
  end
 
}
 
 
...
 
 
function spawn(x, y, class)
 
   obj = class:new()
 
   obj.x = x
 
   obj.y = y
 
end
 
 
...
 
 
  -- Add a tree to the map
 
  spawn(10, 12, Tree) | 	  
 
 
As of now, variable inheritance is not fully functional, but I will be trying to solve that.
 
 
It might not be not a good idea at all to use my engine because I can hardly make a good estimate on it's usability without a good manual. But I think it's worth a try. It's not 'ready to go' currently though, it needs some work on the parts that are still in development.
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      DrV Wandering Minstrel
  
  Joined: 15 Apr 2003 Posts: 148 Location: Midwest US 
     | 
    
      
        
           Posted: Thu May 29, 2003 1:17 am    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            Is that OOP scripting?  *runs into corner and faints*
 
 
I've got to check out Lua sometime. :)  I'm still depending on the MS Script Control for most of my projects. :( _________________ Don't ask no stupid questions and I won't send you away.
 
If you want to talk fishing, well, I guess that'll be okay.
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      js71 Wandering DJ
 
  Joined: 22 Nov 2002 Posts: 815
  
     | 
    
      
        
           Posted: Thu May 29, 2003 1:23 am    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
             	  | Quote: | 	 		  | So these screenies are drawn by you and not real screenshots taken of the game???  | 	  
 
 
...There is no game yet. Hence this topic. :-P
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      Bjorn Demon Hunter
  
  Joined: 29 May 2002 Posts: 1425 Location: Germany 
     | 
    
      
        
           Posted: Thu May 29, 2003 9:29 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
             	  | DrV wrote: | 	 		  Is that OOP scripting?  *runs into corner and faints*
 
 
I've got to check out Lua sometime. :)  I'm still depending on the MS Script Control for most of my projects. :( | 	  
 
It's OOP scripting, and it's working now! :-) The Unreal Tournament engine is really my biggest example of how I would like it to work. I'm planning to implement their idea of packages too.
 
 
 	  | -=(FRoG32)=- wrote: | 	 		  | ...There is no game yet. Hence this topic. :-P | 	  
 
Shall I try to make an "empty" startup project this weekend so that you can take a look at what you would need to do?
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      js71 Wandering DJ
 
  Joined: 22 Nov 2002 Posts: 815
  
     | 
    
      
        
           Posted: Thu May 29, 2003 9:48 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            As long as I don't have to really CODE anything...
 
Sure, that would be sweet!
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      twinsen Stephen Hawking
  
  Joined: 21 May 2003 Posts: 242 Location: Melbourne, Australia 
     | 
    
      
        
           Posted: Thu May 29, 2003 10:45 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
             	  | Quote: | 	 		  | As long as I don't have to really CODE anything... | 	  
 
 
Wheres your sense of adventure? :) _________________ Lovely girls & great prices always available at CLUB 859, 859 Glenhunly Road, Caulfield, Open 10am till late 7 days. +61-3-9523-8555. (Sorry, it was in front of me in the newspaper, I just had to use it as a signature!)
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      DrunkenCoder Demon Hunter
  
  Joined: 29 May 2002 Posts: 559
  
     | 
    
      
        
           Posted: Thu May 29, 2003 10:48 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            *lol* well lots of able programmers around
 
really what have the indie scene come to if noone
 
takes up a great offer like this, heck I would be bouncing
 
with excitment and nagging him 24/7 to let me do it
 
if I hadn't been completey burried in work :( _________________ If there's life after death there is no death, if there's no death we never live. | ENTP
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      akOOma Wandering Minstrel
  
  Joined: 20 Jun 2002 Posts: 113 Location: Germany 
     | 
    
      
        
           Posted: Fri May 30, 2003 5:09 am    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
            Whoa, Bjørn, that scriptin' stuff looks nice...could you tell me more about Lua??? I'm very interested in it... _________________ Keep on codin'
 
-----------------
 
 
 
-----------------
 
Just another post to increase my rank...
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      js71 Wandering DJ
 
  Joined: 22 Nov 2002 Posts: 815
  
     | 
    
      
        
           Posted: Fri May 30, 2003 4:55 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
             	  | Quote: | 	 		  I would be bouncing 
 
with excitment and nagging him 24/7 to let me do it 
 
if I hadn't been completey burried in work :( | 	  
 
 
Damn... If I had a programmer who was THAT enthusiastic, I'd be set!
 
...Lemme know when you're finished with your work ;)
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      | 
  
  
    
      Bjorn Demon Hunter
  
  Joined: 29 May 2002 Posts: 1425 Location: Germany 
     | 
    
      
        
           Posted: Fri May 30, 2003 9:53 pm    Post subject:  | 
          [quote]    | 
         
        
          
  | 
         
        
          
             	  | ak00ma wrote: | 	 		  | Whoa, Bjørn, that scriptin' stuff looks nice...could you tell me more about Lua??? I'm very interested in it... | 	  
 
Heh, thanks. Lua is indeed a nice language, you can find more info on http://www.lua.org/. If you have a specific question, you can ask me.
 
 
Today I've been totally transforming my sequence handler and all the possible actions to OO style. I will continue with the characters, which will be tricky because I want to combine player and ai control in a nice way. For people interested in the engine or scripts source, they're at SourceForge under GPL license. You can browse cvs here.
            
           | 
         
       
     | 
  
  
    | Back to top | 
      | 
  
  
      |