Jump to content

  • Log In with Google      Sign In   
  • Create Account


0Circle0

Member Since 31 Jul 2011
Offline Last Active Mar 13 2014 11:47 PM

Topics I've Started

Sprite Creator 3 VX & XP

02 December 2013 - 04:17 PM

Please visit me on www.facebook.com/spritecreator3 for all questions and comments. Follow Sprite Creator 3 to receive content updates.

 

Requires Java 6+ found here http://www.oracle.com/technetwork/java/jav...oads/index.html This program will NOT run if you do not have Java 6+ installed. Java 7 is recommended.

Updated 12-02-2013 All links current.

Current Update:
Added a new Sprite Creator 3 XP version.

Enable double clicking of runnable JAR file:
If you have not set file associations for ".jar" file types then right click "SprCre.jar" select "open with", go to where Java JRE is installed (usually c:/Program files (x86)/Java/jre7/bin" for 64bit java or "c:/Program Files/Java/jre7/bin" for 32bit java.) Select javaw.exe (Must use javaw.exe NOT java.exe) and click ok. That should make the the jar runnable on double click. Or you can run SprCre3.bat. The path after "c:/Program Files/Java/" may appear different but just select the jre folder.

Did you find this program useful? Help me promote this applet by going to my facebook page and liking and commenting there on the wall. Would love to hear what people have to say.

Sprite Creator 3:
Facebook Page

NOTE: For entertainment and my personal use. Feel free to repost this where ever you like. If you would like the Source Code you can email me at Jensen_305@yahoo.com.

Generation is saved in png format with transparency enabled. The files are Saved in the "Saved" folder ;)

 

zhc9.png

yovv.png

Special Thanks:
Axerax at RPGRevolution for the Sprite Creator 3 splash.
Holder at RPGRevolution.com for your beard images.
Famitsu

Zac Ray

Ying

Holder

Sprite Creator 3 Download (adf.ly > Rapidgator)
Sprite Creator 3 Download (adf.ly > Mediafire)

If you would like me to add resources that you made to this Sprite Creator PM a zip, I prefer mediafire please, and I'll see what I can do. If you would like to create resources for the project so I can add them I can provide how the image layouts are.


[Java][?] ActionListener & Timer

19 February 2013 - 10:42 AM

ActionListener listener = new ActionListener()
        {
            @Override public void actionPerformed(ActionEvent e)
            {
                boolean isfin = false;
                do {
                    NSplitFrame += NSplitFrameInc;
                    if (NSplitFrame < 4 || NSplitFrame > 12)
                    {
                        NSplitFrame = 8;
                        NSplitFrameInc = -NSplitFrameInc;
                    }
                }while(isfin);
            }
        };
        displayTimer = new Timer(200, listener);
        displayTimer.start();

with or without the do :: while every once in a while I get a ArrayOutOfBoundsException due to NSplitFrame being > 12. Is there a way to make sure that this listener has completely finished while the values are being changed?


[?][JAVA] JFrame/Swing

27 January 2013 - 06:19 AM

Compiles just fine and runs. Shortened it down to just the one button.  I'd like to know 2 things. Am I on the right track so far. And how do I start drawing? I am stumped as where to go from here. I haven't been one to be able to learn off the, what ever you call those books or wiki links that tell you what every option does (really early in the morning and my brain may give out on me smile.png ) I have always been a learn by example person. So I have been spending a lot of time on YouTube looking at tutorials but I can't figure out where to go from here.

 

I am trying to convert my Web Applet into a runnable application. Starting from scratch no reused code from my web applet.

 

import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
public class SprCre3XP
{
    public static void CreateGUI()
    {
        //Create JFrame
        JFrame frame = new JFrame("Sprite Creator 3");
        frame.setSize(800, 508);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        //Create Menu Bar
        JMenuBar menubar = new JMenuBar();
        
        //Add Menu Bar to Frame
        frame.setJMenuBar(menubar);
        
        //Create Menu
        JMenu file = new JMenu("File");
        JMenu help = new JMenu("Help");
        
        //Add Menus to Menu Bar
        menubar.add(file);
        menubar.add(help);
        
        //Create Menu Items with ActionListener()
        JMenuItem saveimg = new JMenuItem("Save");
        saveimg.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
            }
        });
        file.add(saveimg);
        JMenuItem exit = new JMenuItem("Exit");
        exit.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
                System.exit(0);
            }
        });
        JMenuItem about = new JMenuItem("About");
        about.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
            }
        });
        
        //Add Menu items to Menu
        file.add(exit);
        help.add(about);
        
        //Create a JLabel??
        //Create JPanel and color it white
        JPanel panel = new JPanel();
        panel.setBackground(Color.white);
        //I like placing items where I want thank you layout not needed. Waste of programming too.
        panel.setLayout(null);
        JLabel label = new JLabel(); //Not sure what JLabel does here
        panel.add(label);            //But lets add it anyways lol
        
        //Lets add buttons each with their own ActionListener
        JButton MaleB = new JButton("Male");
        MaleB.setBounds(10, 125, 90, 20);
        MaleB.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
                //System.out.print("Pressed");//works
            }
        });
        panel.add(MaleB);
        
        //add the JPanel panel to the JFrame frame and setVisible
        frame.getContentPane().add(panel);
        //frame.pack(); //Why you make window so small? guessing that is what pack is?
        frame.setVisible(true);
    }
    public static void main (String[] args)
    {
        //Creates the GUI Obviously
        CreateGUI();
    }
    //Where to go from here?
}
 

[?][JAVA] IDE

21 January 2013 - 07:12 AM

I've been programmed with Notepad++ using the command prompt to compile. I have a folder called Data that holds all my images. A bat file that I use to compile sign ect. I can run the app and it runs great. It is an Applet. 'extends Applet'

 

How do I open Netbeans and create a new project and import this to Netbeans. I can't even get the Helloworld examples used to set up NetBeans or Eclipse or any other JavaIDE available for windows.

 

Environment variables set and I know they are set up correctly because I already compile with the command prompt and I needed to set them to get them to work.

 

 

Basically I have installed netbeans went to create project and that was as far as 'working' as I could get. Beyond that nothing works. Compiles fine with no errors, but as for running the program. Something isn't being set up correctly.


[?][JAVA] Image manipulation

19 January 2013 - 06:28 PM

I am working with bufferedImage in an Applet. I am wondering how do I change the "Hue", "Saturation" , "Brightness" of a BufferedImage

 

I am not using Swing or Frames. Just old school Applet. Not even sure that matters.

 

Example turning this:

imagehpp.png

into this:

imagedm.png

which is +80 Hue -80 sat no change in brightness according to GIMP, which is what I use by hand right now.


PARTNERS