• Register

Scriptable 2D Game App

  • View media
  • View media
  • View media
  • View media
  • View media
RSS Articles

Scripting in WDC

Client Side Coding Tutorial

WDC is a scriptable game app which allow you to create your custom script, this article will teach you how to create your own script for this app

You need to follow these steps if you want to create your own script

1. Create your custom script class inherit from WDCScript

For example, you have a project named CustomScript, you need to make this class inherit from WDCScript like this:

class CustomScript : WDCScript
{
    ....
}

2. Implement the methods

There are four methods you need to implement in your Custom Script class yourself:

  • BeforeRunScript
  • Init
  • Update
  • SetRenderPanel

3. Run

Once you finish writing your codes, compile it into a dll and copy it into the Wardeclarer Scripts folder

After that, double-click the wardeclarer.exe and your script will showup in the script selector if your script dll is correct

See Also:

Github.com

Github.com

If you have any problems about running or scripting, feel free to post comments

RSS Files
WDC v1.5.0

WDC v1.5.0

Full Version

W.D.C. v1.5.0

WDC v1.4.1

WDC v1.4.1

Full Version

This is WDC v1.4.1, included the garbage collection game

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Profile
Icon
W.D.C.
Platforms
Windows
Creator
DoDoCat
Engine
Custom
Contact
Send Message
Release date
Game watch
Follow
Share
Community Rating

Average

-

0 votes submitted.

You Say

-

Ratings closed.

Style
Genre
Puzzle
Theme
Sci-Fi
Players
Single Player
Project
Indie
Boxart
Boxart
Twitter

Latest tweets from @realcookgreen

ASTRO FENIX vs EL REY SUPREMO | YGOPRO | AlexanderYuki Youtu.be 来自 @YouTube

11hours ago

Bağdat Fatihi 4. Murad Müzikleri - Bir Devrin Sonu ( End or an Era ) Youtu.be 来自 @YouTube

21hours ago

メフテル「トルコ・オスマン軍楽隊」東京公演 Mehter TOKYO 2015 Youtu.be 来自 @YouTube

22hours ago

Mehter Team and Red Army Choir 'Friendship Concert Together' 20.10.2008 Kremlin Palace Moscow T.co

22hours ago

Kalinka - Mehteran & Red Army Youtu.be 来自 @YouTube

22hours ago

Ceddin Deden - Mehteran & Red Russian Army Choir Youtu.be 来自 @YouTube

23hours ago

Ottoman Empire!!! Ottoman Empire - Ceddin deden [Remix] Youtu.be 来自 @YouTube

23hours ago

Ərkan Oğur - Məcnunum Leylimi Gördüm - Mecnunum Leylamı Gördüm - Erkan Oğur Youtu.be 来自 @YouTube

23hours ago

In The Army Now (Russian version) Youtu.be 来自 @YouTube

Dec 4 2020

The Universe T.co

Dec 4 2020

Embed Buttons
Link to W.D.C. by selecting a button and using the embed code provided more...
W.D.C.
Statistics
Visits
210 (2 today)
Last Update
Files
2
Articles
1
You may also like
LogiGun
LogiGun Puzzle
SpaceChem
SpaceChem Puzzle
Gravitas
Gravitas Puzzle
Q.U.B.E.
Q.U.B.E. Puzzle
The Last Cube
The Last Cube Puzzle
BFF or Die
BFF or Die Puzzle