How to Create a Video in Shotcut

How to Create a Video in Shotcut

 

If you are wanting to create a video in Shotcut, then you should read this article.

The first thing you want to do is OPEN Shotcut and click TIMELINE and FILTERS.

Next, INSERT any photos and/or video clips that you want by clicking OPEN FILE, and select your clips. From there, you are able to drag them into your TIMELINE below.

You can add filters, text, and many more tings from here by entering the FILTERS tab and selecting what you want.Next, you can ADD AN AUDIO TRACK to your video by following the image below. Then you can TRIM your audio track to fit the length of your video.

Lastly, you can publish you video or export the video to finish it. Now you’ve created your first video in Shotcut!

 

 

 

 

 

How to block collisions between certain objects

Stopping collisions between certain objects can be useful when projectiles are hitting you and making you go flying. Or when you don’t want people on the same team shooting each other.

First you need to click on “edit” In the top right hand corner of the screen. Then you click on “project setting” which will open a drop down bar, then you click “physics” then there will be a big confusing triangle with names on top and names on the bottom. Where the two things in which you don’t want to collide meet, un-click that box.

This was one of my many challenges in the game I was making during this semester. It took me many more days then

Firebase How-to Article

For more in-depth go here: https://codelabs.developers.google.com/codelabs/firebase-web/#0

  1. Create a folder with your name in “User Data” in the C drive
  2. Download Friendly Chat off of Github: https://github.com/firebase/friendlychat
  3. Create a notepad and name it “run-this-first.bat” then put in set PATH = %PATH%;”C:\User Data\Your Name\node-v6.10.2-win-x64″set NPM_CONFIG_PREFIX=C:\.npm-global. Save it to your folder with the friendly chat master in it.
  4. Everything you need for the app to work should be in the folder web-start
  5. Use brackets to edit the main.js for all the main parts of the app (should be in the folder scripts)
  6. Use command prompt to test the code the default line your should have is C:\User Data\Your Folder\friendlychat-master\web-start\node_modules\.bin>
  7. Use dir to look into a folder and use cd to change the place your going to
  8. start off test Firebase version, if that doesn’t work you did something wrong then do Firebase use –add, and after that Firebase login.
  9. After you do all that and your successful with it then type Firebase serve. In your browser search localhost:5000
  10. Set up all your sign-in options and sending images like it says in the firebase document.
  11. After all that is completed final step is Firebase deploy. This deploys the app on the internet and everyone is able to use it. It should give you the link of where you need to go to find it.
  12. After all that you are finally done with your chatroom app.

 

How to make a ViewPager in Android Studio:

Making a ViewPager in Android Studio is extremely difficult to do if you don’t know what to do and, it’s even harder if you are new to coding. I am going to explain it as easily and thoroughly as I can so that you can make a ViewPager with less difficulty than I had. Here are the steps to making your own ViewPager.

1.You need to make a xml file that contains a viewpager. Here is the code you need to put in this file. I named my this file activity_schedules but you can name it something else that matches with your project.

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/schedule_pager"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:visibility="visible">
</android.support.v4.view.ViewPager>

2. Make a second xml file that contains this code. Make sure it is RelativeLayout and this one also needs a viewpager inside of it, also seen in the code below. This file I named activity_schedules2 but you can name it something else.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <android.support.v4.view.ViewPager
        android:id="@+id/viewpager"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />
</RelativeLayout>

3. Make another xml file and you want to call it a fragment. You don’t need an ImageView in this file but I did so I could distinguish this fragment from the other one we need to make. Use this code to put in the first fragment xml file. Make sure that it is a LinearLayout. This one I named fragment_schedule but you can name it something different.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:weightSum="1">

    <ImageView
        android:id="@+id/imageView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:srcCompat="@mipmap/ic_launcher"
        android:contentDescription=""
        tools:ignore="ContentDescription" />
</LinearLayout>

4. Make another xml that is named fragment2 but instead of using the code above, use this code instead. It needs to be a RelativeLayout. This is named fragment_schedule2 but you don’t have to name it this.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <TextView
        android:id="@+id/textView5"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:textAppearance="@style/TextAppearance.AppCompat.Large" />
</RelativeLayout>

5. Now that you have finished making all the xml files, we need to start making the java files. Put this code in your java file for the first xml we made. Anything that is bolded and italicized is the names I have in my project and you do not need to use these. SchedulesActivity is the name of the java we just made, ScheduleFragment is the name of the third xml we made, SchedulesPagerAdapter is what we are going to make in a little, and schedule_pager is the name of my pager in the first xml we made. When you put this code into Android Studio, some of it will be crossed out and they will cause warnings but it’s okay because it won’t affect your app.

package YOUR PACKAGE NAME HERE;

import android.app.ActionBar;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.app.FragmentTransaction;
import android.support.v4.view.ViewPager;


public class SchedulesActivity extends FragmentActivity {
    // When requested, this adapter returns a ScheduleFragment,
    // representing an object in the collection.
    SchedulesPagerAdapter mSchedulesPagerAdapter;
    ViewPager mViewPager;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_schedules);

        // ViewPager and its adapters use support library
        // fragments, so use getSupportFragmentManager.
        mSchedulesPagerAdapter =
                new SchedulesPagerAdapter(
                        getSupportFragmentManager());
        mViewPager = (ViewPager) findViewById(R.id.schedule_pager);
        mViewPager.setAdapter(mSchedulesPagerAdapter);

        final ActionBar actionBar = getActionBar();

        // Specify that tabs should be displayed in the action bar.
        actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);

        // Create a tab listener that is called when the user changes tabs.
        ActionBar.TabListener tabListener = new ActionBar.TabListener() {

            public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
                // show the given tab
                mViewPager.setCurrentItem(tab.getPosition());

            }

            public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) {
                // hide the given tab
            }

            public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
                // probably ignore this event
            }
        };

        // Add 3 tabs, specifying the tab's text and TabListener
        for (int i = 0; i < 3; i++) {
            actionBar.addTab(
                    actionBar.newTab()
                            .setText("Tab " + (i + 1))
                            .setTabListener(tabListener));
        }


    }


}

6. We need to put this code in the java file of the second xml file you made. Schedules2Activity is the name of the java file you see down below, Schedules2PagerAdapter is what we are going to make in a little bit, and Schedules2Fragment is the fourth xml file you made. Once again, you don’t have to use the names I used, I’m just telling you what I named them so you don’t get too confused.

package YOUR PACKAGE NAME HERE;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;

import java.util.ArrayList;
import java.util.List;

public class Schedules2Activity extends FragmentActivity {
    Schedules2PageAdapter pageAdapter;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_schedules2);
        List<Fragment> fragments = getFragments();
        pageAdapter = new Schedules2PageAdapter(getSupportFragmentManager(), fragments);
        ViewPager pager =
                (ViewPager) findViewById(R.id.viewpager);
        pager.setAdapter(pageAdapter);

    }

    private List<Fragment> getFragments() {
        List<Fragment> fList = new ArrayList<>();
        fList.add(Schedule2Fragment.newInstance("Fragment 1"));
        fList.add(Schedule2Fragment.newInstance("Fragment 2"));
        fList.add(Schedule2Fragment.newInstance("Fragment 3"));
        fList.add(Schedule2Fragment.newInstance("Fragment 4"));
        fList.add(Schedule2Fragment.newInstance("Fragment 5"));
        return fList;
    }

}

7. You need to make a java file called SchedulesPagerAdapter. You can use your own name but make sure that PagerAdapter is on the end of it. You need to put the code down below in this file. SchedulesPagerAdapter is the name of this java file and ScheduleFragment is the third xml file you made.

package YOUR PACKAGE NAME HERE;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;

// Since this is an object collection, use a FragmentStatePagerAdapter,
// and NOT a FragmentPagerAdapter.
public class SchedulesPagerAdapter extends FragmentStatePagerAdapter {
    public SchedulesPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int i) {
        Fragment fragment = new ScheduleFragment();
        Bundle args = new Bundle();
        // Our object is just an integer :-P
        args.putInt(ScheduleFragment.ARG_OBJECT, i + 1);
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public int getCount() {
        return 100;
    }

    @Override
    public CharSequence getPageTitle(int position) {
        return "OBJECT " + (position + 1);
    }
}

8. Make another java file named Schedules2PagerAdapter but you can use your name instead of Schedules but use 2PagerAdapter. Schedules2PageAdapter is the name of this java file that I used.

package com.example.a19cmiller.mainpageforgps;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import java.util.List;


public class Schedules2PageAdapter extends FragmentPagerAdapter {
    private List<Fragment> fragments;
    public Schedules2PageAdapter(FragmentManager fm, List<Fragment> fragments) {
        super(fm);
        this.fragments = fragments;
    }
    @Override
    public Fragment getItem(int position) {
        return this.fragments.get(position);
    }
    @Override
    public int getCount() {
        return this.fragments.size();
    }
}

9.

How to start up a Local host Server using EasyPHP

Things you need

  • A database made in EasyPHPDevServer
  • A baked version of the server stored somewhere
  • addgettopath.bat file
  • Windows 10

Steps

  1. Navigate to the file where the addgettopath.bat file is located
  2. Copy the file path
  3. Do windows+r
  4. Type cmd and hit enter
  5. Type cd and paste the file path
  6. Hit tab and open the addgettopath.bat file
  7. Navigate to the file where you baked the DB
  8. Type bin\cake server
  9. Celebrate that you start a local hosted server

how to add a map

First you need something you want on your map. Then you need a location (longitude-latitude  [‘Blairs ferry road’, 41.977595, -91.714813, 4]
, [‘Johnson ave Nw’, 42.023100, -91.624238, 5]
, [‘Southgate ave’, 41.640881, -91.9569, 3]
, [‘middle road’, 41.957377, -91.658464, 2]
, [‘ Clark st’, 41.604493, -93.648357, 1]
, [‘food bank ‘, 42.890123, -90.645212, 6]
, [‘luckys market’, 41.642235, -91.508941, 7]
, [“john’s market”, 41.658803, -91.532466, 8]
, [“central discount”, 41.540984, -91.705687, 9]

after you have done this copy this function setMarkers(map) {
// Adds markers to the map.
// Marker sizes are expressed as a Size of X,Y where the origin of the image
// (0,0) is located in the top left of the image.
// Origins, anchor positions and coordinates of the marker increase in the X
// direction to the right and in the Y direction down.
for (var i = 0; i < stores.length; i++) {
var store = stores[i];
var marker = new google.maps.Marker({
position: {
lat: store[1]
, lng: store[2]
}
, map: map
, title: store[0]
, zIndex: store[3]

after that this is what your map should look like– file:///C:/temp/User%20Data/leroy/l3roy.github.io/index.html

Quinn- How to use Code.org’s App Lab to Change Screens

when you first get in you will need to go to design and where it says screens click it then add a screen. Once that is done add a button to the first screen. then go to the code tab and look in UI controls. the first one you see will be called (On Event). add that to your code and change the ID to button 1 with the type being click. then scroll down to the bottom of UI controls and look for the code that says set screen. Put that code in the bottom of the on event code and set it to screen 2.

Gabes How to Post

How to make a video addressing an issue

  1. Gather your facts for the issue you are addressing for example since I will be talking about world hunger I will do a google search for world hunger facts or statistics.

 

  1. Next you should open a blank document and find some facts and copy them on to the document But BE AWARE THAT YOU CANT COPY IT EXACTLY UNLESS YOU GIVE CREDIT TO THE SOURCE BY CITING IT easy bib is a free and easy way to do this.
  2. Then you go to screencastomatic.com and download it so you can record what is on the screen.
  3. Now open up a PowerPoint so you can put the facts in it.
  4. You can use effects if you want the slideshow to be better
  5. Next you go to a video editor like movie maker to edit some effects in to it
  6. Once you make the changes you can save your video and you can do what you want with it